• Resolved Berdych

    (@aberdov)


    Hello,

    It seems I found a bug.

    I just migrated a site and now I cannot update WC database even I do not press the button. WP logger shows this: http://prntscr.com/p1telo I do not have any comment on the site but every time a new author appears in the DB – http://prntscr.com/p1tfk7 It causes an error constantly.

    Error Details
    =============
    An error of type E_ERROR was caused in line 33 of the file C:\OSPanel\domains\revendor.net\wp-content\plugins\woocommerce\includes\libraries\action-scheduler\classes\ActionScheduler_wpPostStore.php. Error message: Uncaught RuntimeException: Error saving action: Unable to save action. in C:\OSPanel\domains\revendor.net\wp-content\plugins\woocommerce\includes\libraries\action-scheduler\classes\ActionScheduler_wpPostStore.php:33
    Stack trace:
    #0 C:\OSPanel\domains\revendor.net\wp-content\plugins\woocommerce\includes\libraries\action-scheduler\classes\ActionScheduler_ActionFactory.php(109): ActionScheduler_wpPostStore->save_action(Object(ActionScheduler_Action))
    #1 C:\OSPanel\domains\revendor.net\wp-content\plugins\woocommerce\includes\libraries\action-scheduler\classes\ActionScheduler_ActionFactory.php(59): ActionScheduler_ActionFactory->store(Object(ActionScheduler_Action))
    #2 C:\OSPanel\domains\revendor.net\wp-content\plugins\woocommerce\includes\libraries\action-scheduler\functions.php(18): ActionScheduler_ActionFactory->single(‘woocommerce_run…’, Array, 1567613034, ‘woocommerce-db-…’)
    #3 C:\OSPanel\domains\revendor.net\wp-content\plugins\woocommerce\includes\queue\class-wc-action-queue.php(44): as_schedule_single_a

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support slash1andy

    (@slash1andy)

    Automattic Happiness Engineer

    Hey there!

    It looks like the migration was not quite successful. Action Scheduler is a part of WooCommerce that runs a queue of scheduled actions (like sending emails, putting items on sale, etc.) this uses comments, and it looks like there were some in the older site that didn’t get migrated over and the system is missing those.

    Can you check to make sure that the entire database was moved, and then if that’s the case, let us know so we can take a further look.

    Hopefully that helps! Have a great one!

    Thread Starter Berdych

    (@aberdov)

    I guess you mean that I have to update the WC plugin and its database before migration, right?

    Sorry, I can not test the DB because it is already reseted and I imported Products via WP tools. I had a similar problem on another site but I cleared its DB too.

    Plugin Support slash1andy

    (@slash1andy)

    Automattic Happiness Engineer

    OK, glad to hear you found a solution.

    Have a great one!

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

The topic ‘ActionScheduler comment’ is closed to new replies.