Critical Error at update

#139728
  • Resolved Martin
    Rank Math free

    Hi,
    I am updating my site. When updating Rank Math from version 1.0.42.3 to 1.0.56.1 the site breaks totally. I enable debugging and this what I get. I made a total recovery of the site and tried again. Exactly the same.

    Fatal error: Uncaught Error: Class ‘RankMathAnalyticsData_Fetcher’ not found in /mydomain.com/wp-content/plugins/seo-by-rank-math/includes/updates/update-1.0.49.php:23 Stack trace: #0 /mydomain.com/wp-content/plugins/seo-by-rank-math/includes/updates/update-1.0.49.php(75): rank_math_1_0_49_enable_new_analytics_module() #1 /mydomain.com/wp-content/plugins/seo-by-rank-math/includes/class-updates.php(89): include(‘/mydomain.com/…’) #2 /mydomain.com/wp-content/plugins/seo-by-rank-math/includes/class-updates.php(77): RankMathUpdates->perform_updates() #3 /mydomain.com/wp-includes/class-wp-hook.php(287): RankMathUpdates->do_updates(”) #4 /mydomain.com/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #5 /mydomain.com/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #6 /mydomain.com/wp-admin/admin.php(175): do_action(‘admin_init’) #7 /public_html in /mydomain.com/wp-content/plugins/seo-by-rank-math/includes/updates/update-1.0.49.php on line 23

    I then renamed the Rank Math plugin folder to be able to enter the WP backend. I see this:
    Deprecated: contextual_help is deprecated since version 3.3.0! Use get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab() instead. in /mydomain.com/wp-includes/functions.php on line 5152

    Had to make a rollback again. Now I have updated all plugins and themes, except Rank Math.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hello,

    Thank you for contacting the support, and sorry for any inconvenience that might have been caused due to that.

    It looks like you are trying to update Rank Math from a very old version. Please manually update your Rank Math plugin by following this article guide: https://rankmath.com/kb/update-rank-math-manually/

    Let me know if the issue persists. We are looking forward to helping you.

    Martin
    Rank Math free

    Uploaded the plugin, installing and replacing.

    Fatal error: Uncaught Error: Class ‘RankMath\Analytics\Data_Fetcher’ not found in /mydomain.com/wp-content/plugins/seo-by-rank-math/includes/updates/update-1.0.49.php:23 Stack trace: #0 /mydomain.com/wp-content/plugins/seo-by-rank-math/includes/updates/update-1.0.49.php(75): rank_math_1_0_49_enable_new_analytics_module() #1 /mydomain.com/wp-content/plugins/seo-by-rank-math/includes/class-updates.php(89): include(‘/mydomain.com/…’) #2 /mydomain.com/wp-content/plugins/seo-by-rank-math/includes/class-updates.php(77): RankMath\Updates->perform_updates() #3 /mydomain.com/wp-includes/class-wp-hook.php(287): RankMath\Updates->do_updates(”) #4 /mydomain.com/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #5 /mydomain.com/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #6 /mydomain.com/wp-admin/admin.php(175): do_action(‘admin_init’) #7 /public_html in /mydomain.com/wp-content/plugins/seo-by-rank-math/includes/updates/update-1.0.49.php on line 23

    Danial
    Rank Math business

    Hello,

    Can you go to Rank Math > Status & Tools > System Status > Copy System Info to Clipboard and share it with us?

    Looking forward to helping you.

    Martin
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    Thank you for keeping in touch with us.

    Can you please update your WordPress version to 5.6 and see if the fatal error goes away?

    If not, we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    I’m having the same issue as Martin. I updated my Rank Math SEO plugin from version 1.0.43.1 to 1.0.56.1. After which, I was greeted with a critical error warning and can no longer access my website’s backend. I had to restore a previous backup so I can log in again to my site’s wp admin.

    I have a couple more websites that needed the Rank Math plugin updated but because of this issue, I’m gonna have to hold off on this for now.

    Jedi

    Danial
    Rank Math business

    Hello,


    @Martin
    You seem to be using quite an old version of Rank Math.

    You can update your Rank Math manually by following this link in our KB:
    https://rankmath.com/kb/update-rank-math-manually/

    Skip the PRO for @Martin and follow the PRO for @Rudy

    I hope this helps resolve your issues.

    Martin
    Rank Math free

    I will hold the update to WordPress 5.6 and Rank Math 1.0.56.1. Some of the plugins I use are not marked as 100% working for 5.6. The site is a live one, and I don’t have time to set up a staging site for just one plugin totally breaking the site. I’ll have to stick with the old plugin for now.

    Danial
    Rank Math business

    Hello,

    Sure, as you will not be updating, I will now close this ticket.

    Please feel free to reach out to us again in case you need any other assistance.

    We are here to help.

    Thank you.

Viewing 9 replies - 1 through 9 (of 9 total)

The ticket ‘Critical Error at update’ is closed to new replies.