Disaster on StayTrueTattooPA.com after failed upgrade

#676045
  • Resolved Anonymous
    Rank Math free

    At https://staytruetattoopa.com/wp-admin/

    I see

    Fatal error: Uncaught RuntimeException: Error saving action: Error saving action: Duplicate entry ‘0’ for key ‘wp_actionscheduler_actions.PRIMARY’ in /home/sttpa/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php:44 Stack trace: #0 /home/sttpa/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/sttpa/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.php(327): ActionScheduler_HybridStore->save_action(Object(ActionScheduler_Action)) #2 /home/sttpa/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.php(315): ActionScheduler_ActionFactory->store(Object(ActionScheduler_Action)) #3 /home/sttpa/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/functions.php(102): ActionScheduler_ActionFactory->create(Array) #4 /home/sttpa/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/migration/Scheduler.php(89): as_schedule_single_action(1700165825, ‘action_schedule…’, Array, ‘action-schedule…’) #5 /home/sttpa/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/migration/Controller.php(119): Action_Scheduler\Migration\Scheduler->schedule_migration() #6 /home/sttpa/public_html/wp-includes/class-wp-hook.php(324): Action_Scheduler\Migration\Controller->schedule_migration(”) #7 /home/sttpa/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #8 /home/sttpa/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #9 /home/sttpa/public_html/wp-settings.php(665): do_action(‘wp_loaded’) #10 /home/sttpa/public_html/wp-config.php(93): require_once(‘/home/sttpa/pub…’) #11 /home/sttpa/public_html/wp-load.php(50): require_once(‘/home/sttpa/pub…’) #12 /home/sttpa/public_html/wp-admin/admin.php(34): require_once(‘/home/sttpa/pub…’) #13 /home/sttpa/public_html/wp-admin/index.php(10): require_once(‘/home/sttpa/pub…’) #14 {main} thrown in /home/sttpa/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php on line 44

    Which is yours.

    I guess I should have deactivated Pro when my license expired, but did not think I had to.

    How can I clear this error?

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting us and sorry for any inconvenience that might have been caused due to this issue.

    From the error message, it seems like new tables are not getting created in the Database or some old plugin has left an incorrect entry.

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

    Since you do not have access to the WordPress Dashboard area you will have to go to your site’s wp-config.php file using FTP or CPanel’s Filemanager and include this line
    define( 'WP_DEBUG_DISPLAY', false );
    If the WP_DEBUG_DISPLAY code is already on the file set it to false. After doing that the error will no longer appear on the frontend and then you can proceed with the guide.

    You can follow only the first 2 steps of the guide and clear your caches. The others 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 and let us know if the issue still persists.

    If you encounter difficulty in doing this you can share your site’s FTP logins and WordPress logins in the sensitive data section by editing the first post of this ticket.

    Looking forward to helping you.

    Thanks.

    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 ‘Disaster on StayTrueTattooPA.com after failed upgrade’ is closed to new replies.