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
  • Author
    Posts
  • #321649

    Ronny
    Full Member
    Post count: 40

    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!

    #321689

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    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

    #321704

    Ronny
    Full Member
    Post count: 40

    Hi 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)

    #322446

    Ronny
    Full Member
    Post count: 40

    Can anyone help me out with this??

    #322668

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    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

    #323643

    Ronny
    Full Member
    Post count: 40
    This reply has been marked as private.
    #323645

    Ronny
    Full Member
    Post count: 40
    This reply has been marked as private.
    #323763

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    FTP details seem to lead to an empty folder, please check.

    Thanks,

    Stiofan

    #323793

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    I made a small change, please check if that has fixed it all or if there are still problems.

    Thanks,

    Stiofan

    #323802

    Ronny
    Full Member
    Post count: 40

    Yep, it’s all fine again, thanks a lot! Just for my own education though, what did you do to rectify it??

    #323807

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    I 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

    #323817

    Ronny
    Full Member
    Post count: 40

    Great, that’s worked on my other site as well. Thanks again Stiofan.

    #323819

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    No problem, thanks for reporting 🙂

    Stiofan

Viewing 13 posts - 1 through 13 (of 13 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount