Fatal error: Uncaught RuntimeException: Error saving action: Database error

#151133
  • Hi!
    I’ve a WordPress MU with 2 websites:
    SITE-ONE is OK and the other (SITE-TWO) is showing the error:

    Fatal error: Uncaught RuntimeException: Error saving action: Database error. in /home/customer/www/SITE-ONE.it/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php:75 Stack trace: #0 /home/customer/www/SITE-ONE.it/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.php(177): ActionScheduler_DBStore->save_action(Object(ActionScheduler_Action)) #1 /home/customer/www/SITE-ONE.it/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.php(105): ActionScheduler_ActionFactory->store(Object(ActionScheduler_Action)) #2 /home/customer/www/SITE-ONE.it/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/functions.php(54): ActionScheduler_ActionFactory->recurring(‘rank_math/analy…’, Array, 1613425311, 604800, ‘rank-math’) #3 /home/customer/www/SITE-ONE in /home/customer/www/SITE-ONE.it/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php on line 75

    so I can’t see the dashboard of the SITE-TWO.

    The SITE-ONE is working fine.

    What do you suggest?

    Thank you!
    Stefano

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

    1. Please follow these steps to fix the issue:
    https://rankmath.com/kb/fatal-error-after-1-0-49-update/

    2. Please follow only the first 2 steps and clear your caches. The following steps mentioned in the article are for advanced users.

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

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

    That should resolve the issue. Thank you.

    Thank you but it did not work.

    I have no access to the dashboard of site-two so I run the repair-action-scheduler-multisite.php on the site-one…

    Maybe is this the problem?

    Hello,

    Thank you for the follow-up.

    If you’re still unable to access your Site-Two WordPress dashboard, please deactivate Rank Math temporarily by renaming the seo-by-rank-math folder in your website’s root directory (Site-Two).

    No worries, all your configuration will not be affected by deactivating/reactivating Rank Math temporarily. They are saved in your database so it should be fine.

    And from there, please install and activate the action scheduler plugin to the Site-Two.

    I hope that helps. Thank you, and looking forward to your update.

    Thank you, it worked perfectly!

    Hello,

    We are super happy that this issue is already resolved. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)

The ticket ‘Fatal error: Uncaught RuntimeException: Error saving action: Database error’ is closed to new replies.