Plugin Update Caused Fatal Error
This topic contains 12 replies, has 3 voices, and was last updated by Stiofan O’Connor 8 years, 3 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
December 8, 2016 at 9:10 pm #321649
Hi there, the last update of the core plugin caused a fatal error. I got it deactivated through the host so now I have access to the WP backend but at the frontend the following message is showing:
Fatal error: Uncaught Error: Call to a member function get() on null in /home/farmstay/public_html/wp-content/plugins/geodir_location_manager/geodir_location_hooks_actions.php:795 Stack trace: #0 /home/farmstay/public_html/wp-includes/class-wp-hook.php(298): geodir_set_location_var_in_session(Object(WP)) #1 /home/farmstay/public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(Object(WP), Array) #2 /home/farmstay/public_html/wp-includes/plugin.php(515): WP_Hook->do_action(Array) #3 /home/farmstay/public_html/wp-includes/class-wp.php(386): do_action_ref_array(‘parse_request’, Array) #4 /home/farmstay/public_html/wp-includes/class-wp.php(733): WP->parse_request(”) #5 /home/farmstay/public_html/wp-includes/functions.php(955): WP->main(”) #6 /home/farmstay/public_html/wp-blog-header.php(16): wp() #7 /home/farmstay/public_html/index.php(17): require(‘/home/farmstay/…’) #8 {main} thrown in /home/farmstay/public_html/wp-content/plugins/geodir_location_manager/geodir_location_hooks_actions.php on line 795
While at the backend when I tried to reactivate the core plugin again the following message appeared:
Plugin could not be activated because it triggered a fatal error.
Warning: require_once(geodirectory-admin/admin_dummy_data_functions.php): failed to open stream: No such file or directory in /home/farmstay/public_html/wp-content/plugins/geodirectory/geodirectory.php on line 195
Any idea what to do there? Thanks a lot!
December 8, 2016 at 11:30 pm #321689Hi,
it looks like the host deactivated GeoDirectory, but not the add-ons. Either you re-activate GeoDirectory or you must deactivate all the add-ons too as long as you don’t re-install the core plugin.
Let us know,
Thanks
December 9, 2016 at 12:00 am #321704Hi Paolo, thanks for getting back. I’ve just deactivated all the add-ons now, then tried to activate the core plugin but it’s giving me the same message on the plugin page:
Plugin could not be activated because it triggered a fatal error.
Warning: require_once(geodirectory-admin/admin_dummy_data_functions.php): failed to open stream: No such file or directory in /home/farmstay/public_html/wp-content/plugins/geodirectory/geodirectory.php on line 195
While on the front end there’s this bit of poetry here:
Fatal error: Uncaught Error: Call to undefined function geodir_payment_is_page() in /home/farmstay/public_html/wp-content/plugins/geodir_stripe_payment_manager/geodir_stripe_payment_manager.php:177 Stack trace: #0 /home/farmstay/public_html/wp-includes/class-wp-hook.php(298): geodir_stripe_enqueue_scripts(”) #1 /home/farmstay/public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #2 /home/farmstay/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /home/farmstay/public_html/wp-includes/script-loader.php(1221): do_action(‘wp_enqueue_scri…’) #4 /home/farmstay/public_html/wp-includes/class-wp-hook.php(298): wp_enqueue_scripts(”) #5 /home/farmstay/public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #6 /home/farmstay/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #7 /home/farmstay/public_html/wp-includes/general-template.php(2574): do_action(‘wp_head’) #8 /home/farmstay/public_html/wp-content/themes/genesis/header.php(18): w in /home/farmstay/public_html/wp-content/plugins/geodir_stripe_payment_manager/geodir_stripe_payment_manager.php on line 177
So basically all the Geodirectory plugins are deactivated now and it won’t allow me to reactivate them to avoid a fatal error. (Though it seems I have a fatal error already anyway)
December 10, 2016 at 1:39 pm #322446Can anyone help me out with this??
December 10, 2016 at 7:28 pm #322668Hi,
it looks like the plugin was only installed partially.
You should try to delete it and re-install it.
If you can’t, please provide a link, admin and FTP credentials and we will have a look.
Thanks
December 12, 2016 at 2:28 pm #323643This reply has been marked as private.December 12, 2016 at 2:48 pm #323645This reply has been marked as private.December 12, 2016 at 5:26 pm #323763FTP details seem to lead to an empty folder, please check.
Thanks,
Stiofan
December 12, 2016 at 6:00 pm #323793I made a small change, please check if that has fixed it all or if there are still problems.
Thanks,
Stiofan
December 12, 2016 at 6:23 pm #323802Yep, it’s all fine again, thanks a lot! Just for my own education though, what did you do to rectify it??
December 12, 2016 at 6:43 pm #323807I did this: https://wpgeodirectory.com/support/topic/geo-1280-layout-crashed-after-wordpress-update/#post-323794
Some action reference must have changed.
I will release a fix soon.
Thanks,
Stiofan
December 12, 2016 at 7:01 pm #323817Great, that’s worked on my other site as well. Thanks again Stiofan.
December 12, 2016 at 7:08 pm #323819No problem, thanks for reporting 🙂
Stiofan
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket