• Resolved digiroutes

    (@digiroutes)


    I updated the plugin from 4.1.15 to 6.0.1 today and a message appears saying that I have to manually upgrade. When I click on the manual upgrade there is a critical error with the following log:

    Notice: Undefined property: WPBDP::$admin in /home/lossiemouth/lba.lossiemouth.org/wp-content/plugins/business-directory-plugin/includes/admin/admin-pages.php on line 460
    
    Fatal error: Uncaught Error: Call to a member function get_menu() on null in /home/lossiemouth/lba.lossiemouth.org/wp-content/plugins/business-directory-plugin/includes/admin/admin-pages.php:460 Stack trace: #0 /home/lossiemouth/lba.lossiemouth.org/wp-content/plugins/business-directory-plugin/includes/admin/admin-pages.php(225): WPBDP_Admin_Pages::get_content_tabs() #1 /home/lossiemouth/lba.lossiemouth.org/wp-content/plugins/business-directory-plugin/includes/admin/admin-pages.php(631): WPBDP_Admin_Pages::show_tabs(Array) #2 /home/lossiemouth/lba.lossiemouth.org/wp-content/plugins/business-directory-plugin/includes/admin/upgrades/class-manual-upgrade-helper.php(154): wpbdp_admin_header(Array) #3 /home/lossiemouth/lba.lossiemouth.org/wp-includes/class-wp-hook.php(303): WPBDP__Manual_Upgrade_Helper->upgrade_page('') #4 /home/lossiemouth/lba.lossiemouth.org/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array) #5 /home/lossiemouth/lba.lossiemouth.org/wp-includes/plugin.php(470): WP_Hook->do_action(Array) #6 / in /home/lossiemouth/lba.lossiemouth.org/wp-content/plugins/business-directory-plugin/includes/admin/admin-pages.php on line 460

    Please can you help me troubleshoot this
    many thanks
    Val

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Garret L

    (@garret1996)

    Hi @digiroutes

    Thank you for reaching out about this. I’m Garret from the customer success team and I’m sorry to hear that you’re having a problem here. I’ll be happy to help!

    Since I haven’t been able to reproduce this on my test site, will you check if you have the same issue under these conditions?

    • all other plugins deactivated
    • any custom code removed
    • WP 2020 theme active
    • running the current version of the Business Directory Plugin
    • running the current version of WordPress
    • all site, server, and browser caches cleared

    You can find more detail on how to find a conflict in the docs.

    If you do have the same issue under those conditions, please let me know. I’ll also need specific steps to see the issue that you’re seeing.

    Best,

    Thread Starter digiroutes

    (@digiroutes)

    Thank you Garret – I confirm I have updated wordpress, am running the latest version of the Business Directory Plugin and using 2020 theme and the error messages are the same.

    So I updated the Business Directory Plugin today and a message came up to say that it needed a manual upgrade as per this page https://lba.lossiemouth.org/business-directory/

    When I click on the manual upgrade it automatically comes up with this error message
    Notice: Undefined property: WPBDP::$admin in /home/lossiemouth/lba.lossiemouth.org/wp-content/plugins/business-directory-plugin/includes/admin/admin-pages.php on line 460

    Fatal error: Uncaught Error: Call to a member function get_menu() on null in /home/lossiemouth/lba.lossiemouth.org/wp-content/plugins/business-directory-plugin/includes/admin/admin-pages.php:460 Stack trace: #0 /home/lossiemouth/lba.lossiemouth.org/wp-content/plugins/business-directory-plugin/includes/admin/admin-pages.php(225): WPBDP_Admin_Pages::get_content_tabs() #1 /home/lossiemouth/lba.lossiemouth.org/wp-content/plugins/business-directory-plugin/includes/admin/admin-pages.php(631): WPBDP_Admin_Pages::show_tabs(Array) #2 /home/lossiemouth/lba.lossiemouth.org/wp-content/plugins/business-directory-plugin/includes/admin/upgrades/class-manual-upgrade-helper.php(154): wpbdp_admin_header(Array) #3 /home/lossiemouth/lba.lossiemouth.org/wp-includes/class-wp-hook.php(307): WPBDP__Manual_Upgrade_Helper->upgrade_page(”) #4 /home/lossiemouth/lba.lossiemouth.org/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(”, Array) #5 /home/lossiemouth/lba.lossiemouth.org/wp-includes/plugin.php(474): WP_Hook->do_action(Array) #6 / in /home/lossiemouth/lba.lossiemouth.org/wp-content/plugins/business-directory-plugin/includes/admin/admin-pages.php on line 460

    There has been a critical error on this website. Please check your site admin email inbox for instructions.`

    The rest of the website is working fine .. just the Business Directory Plugin that is not working because of this critical error.

    Any help appreciated
    thanks
    Val

    Plugin Support Garret L

    (@garret1996)

    Hi @digiroutes

    Thanks for that information.

    Would you mind contacting our premium support so our team can take a closer look here? https://businessdirectoryplugin.com/contact/

    Hope to hear from you soon.

    Best,

    This is happening for me as well. No other plugins enabled, default theme, latest files, etc. Do you know anything else I can check or do you have a fix?

    • This reply was modified 2 years, 3 months ago by Tia Wood.
    Plugin Support Garret L

    (@garret1996)

    Hi @meganerd2014

    Thank you for reaching out about this. I’m Garret from the Business Directory customer success team and I’m very sorry to hear you are seeing these errors.

    Would you mind creating a new topic here: https://www.ads-software.com/support/plugin/business-directory-plugin/#new-topic-0

    In that could you please share the following:

    1. The exact error message you see
    2. The version you are upgrading from and going to

    Best,

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Critical Error after updating’ is closed to new replies.