• Resolved ishor

    (@ishor)


    After the update, we are facing some weird issues. Can you please fix this? Please see the screenshot below for issues.

    https://drive.google.com/file/d/1XFkPKPeXQF7Hs4a5IUi2nkHAeQhWo06h/view

    Fatal error: Uncaught RuntimeException: Error saving action: Error saving action: Duplicate entry ‘0’ for key ‘PRIMARY’ in /home/sbebuddy/repo/www/wp-content/plugins/woocommerce/packages/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php:44 Stack trace: #0 /home/sbebuddy/repo/www/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_HybridStore.php(242): ActionScheduler_DBStoreMigrator->save_action(Object(ActionScheduler_Action), NULL) #1 /home/sbebuddy/repo/www/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_ActionFactory.php(177): ActionScheduler_HybridStore->save_action(Object(ActionScheduler_Action)) #2 /home/sbebuddy/repo/www/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_ActionFactory.php(84): ActionScheduler_ActionFactory->store(Object(ActionScheduler_Action)) #3 /home/sbebuddy/repo/www/wp-content/plugins/woocommerce/packages/action-scheduler/functions.php(36): ActionScheduler_ActionFactory- in /home/sbebuddy/repo/www/wp-content/plugins/woocommerce/packages/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php on line 44

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Phil

    (@fullysupportedphil)

    Automattic Happiness Engineer

    The error:

    >Error saving action: Duplicate entry ‘0’ for key ‘PRIMARY’

    Is a database error that typically indicates some corrupted information in your database.

    If you’ve recently migrated your site, or restored it from a backup, that could be the source of the corruption. In that case you could try running that migration/database import again. Otherwise, I would recommend contacting your host to have them take a look at your database as the autoincrement functionality in your database doesn’t seem to be working.

    One of my colleagues also made a post about this with some helpful information, please find that here:
    https://ww.wp.xz.cn/support/topic/actionscheduler-error-unable-to-get-rid-of/#post-12021161

    con

    (@conschneider)

    Engineer

    Hi there,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Kind regards,

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

The topic ‘Issue after update’ is closed to new replies.