Site shows critical error with RankMath

#91710
  • Resolved Kamlesh Kurankar
    Rank Math free

    Hi, today my site started showing wordpress critical error and I couldn’t be able to open front-end or back-end
    I deactivated plugins one-by-one and found it is RankMath when I disable it my site started running.
    After disabling it I entered in admin panel and tried to re-enable it and got following error and plugin is not getting activated. Please check.
    My site is https://merasarkarijob.com/ and I didn’t do anything on my site from past 10 days.

    Fatal error: Uncaught RuntimeException: Error saving action: Error saving action: Table ‘u644182164_kbM0r.wp_actionscheduler_actions’ doesn’t exist in /home/u644182164/domains/merasarkarijob.com/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php:44 Stack trace: #0 /home/u644182164/domains/merasarkarijob.com/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/u644182164/domains/merasarkarijob.com/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/u644182164/domains/merasarkarijob.com/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/ActionScheduler_ActionFac in /home/u644182164/domains/merasarkarijob.com/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php on line 44

Viewing 1 replies (of 1 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,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 1 replies (of 1 total)

The ticket ‘Site shows critical error with RankMath’ is closed to new replies.