Fatal site breaking error

#91572
  • Resolved Tlfm
    Rank Math free

    I updated your plugin this evening and it threw a fatal error which broke the site,
    Currently, the Rank Math plugin is disabled, should I delete the plugin and reinstall or is this error fixable

    Fatal error Uncaught Exception Error: Error saving action: Error saving action: Table
    ‘*sitename*_WPTPL_TPL_actionscheduler_actions’ doesn’t exist in
    /home1/*sitename*/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php on line 44

    there was then a Call stack listed.

    I do not have the Woocommerce plugin installed on my site

    Any ideas?

Viewing 3 replies - 1 through 3 (of 3 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.

    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

    If that doesn’t help, we might need to take a closer look at the settings

    We really look forward to helping you.

    I had the exact same error message after updating your plugin to the latest version. My whole website went down too by showing a fatal error message.

    The above solution perfectly worked.

    One note though, you need to remove the comma on line 5 in the code snippet because there are no arguments after it. The code snippet code field will show an error until you remove it.

    Thank you for your support!!!

    • This reply was modified 4 years, 1 month ago by Ahmad Sannan.

    Hello,

    Glad that helped.

    Thank you for pointing out the error, we have updated the code. Though, that error won’t cause any trouble when using.

    Appreciate your input though. 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 3 replies - 1 through 3 (of 3 total)

The ticket ‘Fatal site breaking error’ is closed to new replies.