• Resolved zerocoolflo89

    (@zerocoolflo89)


    Hi guys,

    For the past 3 days I looked everywhere for a solution. I see people having the same problem yet no clear answer on what to do:

    PROBLEMS CURRENTLY FACING:

    1. I can’t add any post (I can only see them)
    2. I can’t add any product (I can only see them)
    3. Woocommerce database was impossible to get updated -> host devs updated it through CLI or some command -> I kept getting the action_scheduler error
    4. My action_scheduler_log or that table is getting huge -> last time I cleared 15 gb or errors

    Now I have this error:

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

    I TRIED:
    – Installing the action scheduler separately -> still get the error + the database action_scheduler stuff still gets filled up
    – various database optimization plugins (I have a backup)

    This is driving me nuts. I saw some threads on github and here but no clear answer on what to do. What’s wrong with woocommerce?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter zerocoolflo89

    (@zerocoolflo89)

    NOTE: I have no idea about the “primary key” so I would need a step by step if possible -> how to add it if needed and the auto_increment thingie? I saw some people mentioning it.

    Also, what should I look after?

    Damn its driving me crazy 🙁

    Thread Starter zerocoolflo89

    (@zerocoolflo89)

    bump? No one?

    Plugin Support Damianne P (a11n)

    (@drwpcom)

    Hi @zerocoolflo89. Sorry that we missed your post.

    One of my colleagues made a detailed post here to help with this issue.

    I hope that helps you as well. Please let us know if you have any follow-up questions.

    Plugin Support Damianne P (a11n)

    (@drwpcom)

    Hi @zerocoolflo89. Sorry we missed your initial post for some time. I hope that you have been able to resolve this issue. Since haven’t heard from you in a while, I’m going to go ahead and mark this thread as resolved.

    If you still need help with this issue or have any other questions about the WooCommerce plugin, please start a new thread.

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

The topic ‘Action_scheduler error + crash + database getting huge’ is closed to new replies.