Fatal Error

#91676
  • Resolved AlviyatuN
    Rank Math free

    Please help me. I use Rank Math and have automatic updates turned on. However, after the update there was a fatal error like the one below.

    Fatal error: Uncaught RuntimeException: Error saving action: Error saving action: Table ‘u5778984_alviya.wpsp_actionscheduler_actions’ doesn’t exist in /home/u5778984/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php:44 Stack trace: #0 /home/u5778984/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_HybridStore.php(242): ActionScheduler_DBStoreMigrator->save_action(Object(ActionScheduler_Action), NULL) #1 /home/u5778984/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.php(177): ActionScheduler_HybridStore->save_action(Object(ActionScheduler_Action)) #2 /home/u5778984/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.php(105): ActionScheduler_ActionFactory->store(Object(ActionScheduler_Action)) #3 /home/u5778984/public_html/w in /home/u5778984/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php on line 44

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

    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
    add new snippet
    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
    run only in admin area wordpress
    6. Open WordPress Dashboard in a new window
    7. Then deactivate recently created snippet from here
    disable snippet
    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.

    Hello thank you. the problem is resolved after following your guidance.

    One more question. Can the plugin code snippet be removed afterward?

    Hello,

    Glad that helped.

    Yes, please disable that plugin if you are not using it.

    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 4 replies - 1 through 4 (of 4 total)

The ticket ‘Fatal Error’ is closed to new replies.