• Resolved Stephen Ekpa

    (@droidafrica)


    I update Rankmath just this morning, and after update, my site went into crital error. Logged in via FTP to deactivate all plugin and activated one after another. All other plugin was activated successfully except RankMath. Trying to activate it give the error below:

    Fatal error: Uncaught RuntimeException: Error saving action: Error saving action: Table 'example_net_N8g5KiMt.wp_actionscheduler_actions' doesn't exist in /var/www/example.net/htdocs/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php:44 Stack trace: #0 /var/www/example.net/htdocs/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_HybridStore.php(242): ActionScheduler_DBStoreMigrator->save_action() #1 /var/www/example.net/htdocs/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.php(177): ActionScheduler_HybridStore->save_action() #2 /var/www/example.net/htdocs/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.php(105): ActionScheduler_ActionFactory->store() #3 /var/www/example.net/htdocs/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-sch in /var/www/example.net/htdocs/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php on line 44

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

    (@rankmath)

    Hello @droidafrica

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

    It seems like new tables are not getting created in the Database or some old plugin has left an incorrect entry.

    Please follow these steps to fix the issue:

    1. Take a complete backup of your website
    2. Install this plugin: https://wordpress.org/plugins/code-snippets/
    3. Head over to the Snippets menu in the left sidebar and click Add New: https://i.rankmath.com/YucUZS
    4. Give that post any name and copy the below code in the Code field

    add_action(
    	'init',
    	function() {
    		delete_option( 'schema-ActionScheduler_StoreSchema' );
    	},
    );

    5. Select ‘Only run in administration area’ option and click the Save and Activate button: https://i.rankmath.com/D9iOGH
    6. Open WordPress Dashboard in a new window
    7. Then deactivate recently created snippet from here: https://i.rankmath.com/1k8KcX
    8. Then activate the Rank Math plugin again

    Here’s a video screencast:
    https://i.rankmath.com/79gPbv

    Please clear all the cache, including the server after following the above process.

    That should resolve the issue.

    Thread Starter Stephen Ekpa

    (@droidafrica)

    This worked!…Thanks

    Can I deactivate and remove the added plugin now?

    • This reply was modified 3 years, 6 months ago by Stephen Ekpa.

    Same fatal error for me. I rolled back to previous version. It’s something Rank Math should fix with a new update. Thanks!

    Thread Starter Stephen Ekpa

    (@droidafrica)

    @tomstardust

    You should try the above solution…it worked for me!

    Plugin Author Rank Math

    (@rankmath)

    Hello @droidafrica

    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.​​

    P.S. @tomstardust Please follow the above steps to fix the issue.

    WTF, i have the same fatal error today, rolled back to the last backup and disabled the rank math auto update, now my site is back!
    This is the first time and the first plugin that cause my site totally dead!!!!!
    I would never enable the auto update anymore!

    Plugin Author Rank Math

    (@rankmath)

    Hello @shinnmoon

    We are extremely sorry for the issue you faced.

    It seems like new tables are not getting created in the Database or some old plugin has left an incorrect entry.

    Please follow these steps to fix the issue:

    1. Take a complete backup of your website
    2. Install this plugin: https://wordpress.org/plugins/code-snippets/
    3. Head over to the Snippets menu in the left sidebar and click Add New: https://i.rankmath.com/YucUZS
    4. Give that post any name and copy the below code in the Code field

    add_action(
    	'init',
    	function() {
    		delete_option( 'schema-ActionScheduler_StoreSchema' );
    	},
    );

    5. Select ‘Only run in administration area’ option and click the Save and Activate button: https://i.rankmath.com/D9iOGH
    6. Open WordPress Dashboard in a new window
    7. Then deactivate recently created snippet from here: https://i.rankmath.com/1k8KcX
    8. Then activate the Rank Math plugin again

    Here’s a video screencast:
    https://i.rankmath.com/79gPbv

    Please clear all the cache, including the server after following the above process.

    That should resolve the issue.

    Thank you.

    Please, just update the plugin and fix it! How am I going to be confident in investing in the paid version and telling my customers if a plugin causes this type of error?

    Plugin Author Rank Math

    (@rankmath)

    Hello @alexrodrigues43

    The issue is not happening on every installation, and we are sorry that the issue is even happening.

    We have created a plugin that fixes the issue on the installations where the issue is happening:
    https://rankmath.com/kb/fatal-error-after-1-0-49-update/

    and we are also working with the developers of the vendor plugin to get it fixed asap.

    Hope you understand. Thank you.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘NEW update is causing Fatal Error on my site’ is closed to new replies.