Fatal Error caused by latest release

#91570
  • Resolved Sopnil Ali
    Rank Math free

    Latest release version 1.0.49 caused fatal error. Have disabled RankMath and site running again. Will keep an eye out for when issue is resolved. Error details based in Sensitive Data section

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi,

    Fatal Error on all my 47 websites caused by RankMatch. When Disabling the plugin all works fine.

    Sensitive details marked with “******”

    Fatal error: Uncaught RuntimeException: Error saving action: Error saving action: Table ‘******.wp_actionscheduler_actions’ doesn’t exist in /customers/d/a/1/******/httpd.www/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php:44 Stack trace: #0 /customers/d/a/1/******/httpd.www/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 /customers/d/a/1/******/httpd.www/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.php(177): ActionScheduler_HybridStore->save_action(Object(ActionScheduler_Action)) #2 /customers/d/a/1/******/httpd.www/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.php(105): ActionScheduler_ActionFactory->store(Object(Acti in /customers/d/a/1/******/httpd.www/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php on line 44

    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.

    Hi thank you for a fast reply.

    On one site it worked. But on the site the above error is taken from it is not working.

    When I add the code to the code snippet field. It returns on save a error: syntax error, unexpected ‘)’ on line 6.

    So it will not save the snippet.

    Best regards, Peter

    Hello,

    That is weird. It should work.

    If for some reason it isn’t working, please try adding it to your child theme’s functions.php file.

    If you would rather have us do it for you, please share your WP and FTP logins in the sensitive data section so we can add that for you.

    Hi again,

    On that site I needed to remove “,” on line 5 and then all went well :-).

    Thank you so much for the help, and I am glad to keep on using the best SEO plugin for wordpress. I am so excitied to get the paid PRO version of it. No doubt it is worth to pay for.

    Best regards, Peter

    Hello,

    Glad that got resolved and sorry for the unwanted trouble.

    If there’s anything, please feel free to contact us by opening a new support ticket.

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

The ticket ‘Fatal Error caused by latest release’ is closed to new replies.