Website migration causing critical errors

#553781
  • Resolved Anonymous
    Rank Math free

    Hi, following my hosting provider migrating my site to a new hosting package the site has been experiencing various issues and critical errors in relation to certain plugins, one of which was Rank Math.

    Wordpress support advised me to delete the Rank Math plugin and inform you of the error. Despite removing Rank Math the site’s problems still persist. Critical errors occurring with other plugins, and the strange one is I’m unable to add a new user to the website? All since the migration. See error as follows. Can you help advise is anyway what may be the problem. My own laymen speculation is a duplication of the migration process has corrupt the site, but i’m guessing and not qualified. see error message as follows. Hopefully some clues in this to a developer:
    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 6.2
    Active theme: Neve (version 3.5.6)
    Current plugin: Rank Math SEO (version 1.0.110.2)
    PHP version 8.1.16

    Error Details
    =============
    An error of type E_ERROR was caused in line 44 of the file /home/bu1szht15buv/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php. Error message: Uncaught RuntimeException: Error saving action: Error saving action: Duplicate entry ‘0’ for key ‘PRIMARY’ in /home/bu1szht15buv/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php:44
    Stack trace:
    #0 /home/bu1szht15buv/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_HybridStore.php(242): ActionScheduler_DBStoreMigrator->save_action()
    #1 /home/bu1szht15buv/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.php(244): ActionScheduler_HybridStore->save_action()
    #2 /home/bu1szht15buv/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.php(114): ActionScheduler_ActionFactory->store()
    #3 /home/bu1szht15buv/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/functions.php(81): ActionScheduler_ActionFactory->single_unique()
    #4 /home/bu1szht15buv/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/migration/Scheduler.php(89): as_schedule_single_action()
    #5 /home/bu1szht15buv/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/bu1szht15buv/public_html/wp-includes/class-wp-hook.php(308): Action_Scheduler\Migration\Controller->schedule_migration()
    #7 /home/bu1szht15buv/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #8 /home/bu1szht15buv/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #9 /home/bu1szht15buv/public_html/wp-settings.php(645): do_action()
    #10 /home/bu1szht15buv/public_html/wp-config.php(103): require_once(‘/home/bu1szht15…’)
    #11 /home/bu1szht15buv/public_html/wp-load.php(50): require_once(‘/home/bu1szht15…’)
    #12 /home/bu1szht15buv/public_html/wp-admin/admin.php(34): require_once(‘/home/bu1szht15…’)
    #13 /home/bu1szht15buv/public_html/wp-admin/plugins.php(10): require_once(‘/home/bu1szht15…’)
    #14 {main}
    thrown

Viewing 1 replies (of 1 total)
  • Hello,

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

    Please follow the steps from this URL and see if that helps to fix the issue:
    https://rankmath.com/kb/fatal-error-after-1-0-49-update/

    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 and that should resolve the issue.

    Let us know how it goes. Looking forward to helping you.

    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 ‘Website migration causing critical errors’ is closed to new replies.