skip to Main Content

my website running perfect but today 1 order is placed by the customer, and I am getting this error in my website.

Here is the screenshot of error

enter image description here

error is here..
Fatal error: Uncaught RuntimeException: Error saving action: Error saving action: Duplicate entry '0' for key 'PRIMARY' in /home/website/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php:44

2

Answers


  1. Go to table structure and then hover on More option in front of id field and then click on primary key.
    Here is screenshot

    if problem still there after doing this then click on change in front of id field and check the A.I checkbox

    Here is screenshot

    Login or Signup to reply.
  2. Error resolved when I changed id=0 to id=1 in

    actionscheduler_actions
    

    table.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search