Support » Plugin: Rank Math SEO - Best SEO Plugin for WordPress » Fatal Error when upgrading from 1.0.44.1 to 1.0.56.1

  • Resolved SylverTECH

    (@sylvertech)


    Encountered a “Fatal Error” while trying to Update from v.1.0.44.1 to v.1.0.56.1 .

    As can be seen from the Debug.log code snippet below, the problem seems to arise from the “Data_Fetcher” file not found while trying to update from 1.0.49 which is not exactly the version I was updating from.

    [14-Jan-2021 19:07:21 UTC] PHP Fatal error:  Uncaught Error: Class 'RankMath\Analytics\Data_Fetcher' not found in /home/sylvertech/public_html/wp-content/plugins/seo-by-rank-math/includes/updates/update-1.0.49.php:23
    Stack trace:
    #0 /home/sylvertech/public_html/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 /home/sylvertech/public_html/wp-content/plugins/seo-by-rank-math/includes/class-updates.php(89): include('/home/sylvertec...')
    #2 /home/sylvertech/public_html/wp-content/plugins/seo-by-rank-math/includes/class-updates.php(77): RankMath\Updates->perform_updates()
    #3 /home/sylvertech/public_html/wp-includes/class-wp-hook.php(287): RankMath\Updates->do_updates()
    #4 /home/sylvertech/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()
    #5 /home/sylvertech/public_html/wp-includes/plugin.php(484): WP_Hook->do_action()
    #6 /home/sylvertech/public_html/wp-admin/admin-ajax.php(45): do_action()
    #7 {main}
      thrown in /home/sylvertech/public_html/wp-content/plugins/seo-by-rank-math/includes/updates/update-1.0.49.php on line 23

    Can you advise please ?

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

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Rank Math

    (@rankmath)

    Hello @sylvertech,

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

    It seems like the update routine is failing on your website.

    Please delete the plugin files and install the latest ones again.

    That should solve the issue. Please let us know if not, we are here to assist.

    Looking forward to helping you.

    Thread Starter SylverTECH

    (@sylvertech)

    Thanks for your reply.

    I have 2 questions :

    1. Do you mean just deleting the plugin through the WP/Plugins interface and/or through SSH or FTP access ?

    2. Doing so, will I lose all my Settings (keywords, scores, titles, description, etc…) ?

    Regards

    Plugin Author Rank Math

    (@rankmath)

    Hello @sylvertech

    If you did not add the following filter you can safely delete the plugin:
    https://rankmath.com/kb/filters-hooks-api-developer/#clear-rm-data

    You can take a complete backup before doing so.

    You can delete the files from inside WP or using FTP.

    Deleting the plugin won’t remove your settings.

    Hope that helps. Thank you.

    Thread Starter SylverTECH

    (@sylvertech)

    Thanks Rank Math,

    It worked perfectly!

    Plugin Author Rank Math

    (@rankmath)

    Hello @sylvertech,

    Glad that helped.

    If it isn’t too much to ask for – would you mind leaving us a review here?
    https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post

    It only takes a couple of minutes but helps us tremendously.

    It would mean so much to us and would go a really long way.

    Thank you.​​

    I had the same upgrade problem. Uploading manually didn’t do it to me. So what I did was installing the plugin and then deleting the file:

    /wp-content/plugins/seo-by-rank-math/includes/updates/update-1.0.49.php

    That made everything work again.

    Not sure of that is a proper fix, as I don’t know what update-1.0.49.php actually does. But at least WP is working again.

    Just adds that here to everybody else having problems with this.

    I’m in the same boat as @pos2012.

    I have RankMath installed into a MultiSite, and specific sites have it activated (not network). The network sites that did not have it active can activate without issues, but the sites that have had it already active went down.

    Seems there’s a class that the sites that had it already active were using, and the new update has removed it.

    Right now the only fix it to delete the update file. Maybe the new update file will include any update from the failed one with consideration of the class conflict?

    Alternatively, maybe make available the database fix, so we can understand our own websites better?

    • This reply was modified 2 months, 1 week ago by Erix Kivuti.
    Plugin Author Rank Math

    (@rankmath)

    Hello @elzixl, @pos2012

    We are looking into it internally and will soon release an update.

    As soon as the update is released, we will let you know.

    In the meantime, if there’s anything else we can help you with, please let us know.

    We are here to assist. Thank you.

    Same error here, but only on pages where the DB_Prefix is changed from wp_ to something different.

    Deleting /wp-content/plugins/seo-by-rank-math/includes/updates/update-1.0.49.php worked for me (thanks @pos2012 !!!). But I’m using rank math via composer, so it would be great if there’s a general solution for this.

    Thanks!

    Plugin Author Rank Math

    (@rankmath)

    Hello @sylvertech, @pos2012, @elzix & @zielgestalt

    Thank you for your patience.

    We have released, 1.0.58

    That should remove the warning. Hope that helps. If there’s anything else we can help you with, please let us know. We are here to assist.

    I can confirm that fixes the issue for me.
    Thanks @rankmath !

    Plugin Author Rank Math

    (@rankmath)

    Hello @zielgestalt

    Glad that’s sorted. Please feel free to reach out to us in case you need any other assistance. We are here to help.

    Hey, if it isn’t too much to ask for – would you mind leaving us a review here?
    https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post

    It only takes a couple of minutes but helps us tremendously.

    It would mean so much to us and would go a really long way.

    Thank you.​​

    @rankmath , excellent! Thank you 🙂

    Plugin Author Rank Math

    (@rankmath)

    Hello @pos2012

    Glad that’s sorted. Please feel free to reach out to us in case you need any other assistance. We are here to help.

    Hey, if it isn’t too much to ask for – would you mind leaving us a review here?
    https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post

    It only takes a couple of minutes but helps us tremendously.

    It would mean so much to us and would go a really long way.

    Thank you.​​

Viewing 14 replies - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.