Support » Plugin: WooCommerce » Can´t update WC Database error

  • Resolved andreaswalkendorff

    (@andreaswalkendorff)


    Having trouble after the recent update. Is urged to press the Update the WooCommerce database. When pressing that I get the “Critical error”…. and it says that a infomail will be sent to the admin. Not happening… But I can go back and forth så the error is just when trying do update the database. Can go back and it will be as it was prior to pressing the button.

    Have disabled all plugins except WC but it doesn´t help.
    Have also switched to use the original theme instead of AVADA but it doesn´t help either.

    Also been looking into the “Scheduled Actons”. Says that “one or several database tables seams to be missing” or something like that. It´s marked red.
    I also have a orange marked statement like Actions schedule migration… might be incomplete or similar. No objects is visible in the list.
    (All (157525) | Complete (157489) | Pending (35) | Failed (1)

    The main problem is that the cart in the shop is not working for customers. They can add stuff to the cart, but it disapears so the cart is empty…

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Ena P (a11n)

    (@drwpcom)

    Hi @andreaswalkendorff! What version of WooCommerce do you have installed? Please share your System Status Report with us by going to WooCommerce > Status > Get system report and then click Copy for support to be able to paste it in your reply.

    Thread Starter andreaswalkendorff

    (@andreaswalkendorff)

    We hade 4.01 when the error occured. And the latest WP.

    Have now reverted the installation to 29 of mars just to make it work temporarily.
    So it´s 3.9.3 now…

    Have a ticket with this issue: #2862329

    Error code we got when I tried again:

    fatal-errors-2020-04-14-b6a3957f924c5138a46070e9f5d593d1.log

    2020-04-14T11:34:36+00:00 CRITICAL Uncaught InvalidArgumentException: Oidentifierad åtgärd 247036 in /www/webvol14/uf/ybl0a8bkedlelpo/dbgolf.se/public_html/wp-content/plugins/woocommerce/includes/libraries/action-scheduler/classes/ActionScheduler_wpPostStore.php:488
    Stack trace:
    #0 /www/webvol14/uf/ybl0a8bkedlelpo/dbgolf.se/public_html/wp-content/plugins/woocommerce/includes/libraries/action-scheduler/classes/ActionScheduler_wpPostStore.php(475): ActionScheduler_wpPostStore->get_date_gmt(‘247036’)
    #1 /www/webvol14/uf/ybl0a8bkedlelpo/dbgolf.se/public_html/wp-content/plugins/woocommerce/includes/libraries/action-scheduler/classes/ActionScheduler_wcSystemStatus.php(78): ActionScheduler_wpPostStore->get_date(‘247036’)
    #2 /www/webvol14/uf/ybl0a8bkedlelpo/dbgolf.se/public_html/wp-content/plugins/woocommerce/includes/libraries/action-scheduler/classes/ActionScheduler_wcSystemStatus.php(52): ActionScheduler_wcSystemStatus->get_action_status_date(‘complete’, ‘oldest’)
    #3 /www/webvol14/uf/ybl0a8bkedlelpo/dbgolf.se/public_html/wp-content/plugins/woocom i /www/webvol14/uf/ybl0a8bkedlelpo/dbgolf.se/public_html/wp-content/plugins/woocommerce/includes/libraries/action-scheduler/classes/ActionScheduler_wpPostStore.php på rad 488

    2020-04-14T11:34:54+00:00 CRITICAL Uncaught Error: Cannot use object of type stdClass as array in /www/webvol14/uf/ybl0a8bkedlelpo/dbgolf.se/public_html/wp-admin/update-core.php:333
    Stack trace:
    #0 /www/webvol14/uf/ybl0a8bkedlelpo/dbgolf.se/public_html/wp-admin/update-core.php(767): list_plugin_updates()
    #1 {main}
    thrown i /www/webvol14/uf/ybl0a8bkedlelpo/dbgolf.se/public_html/wp-admin/update-core.php på rad 333

    2020-04-14T11:36:00+00:00 CRITICAL Uncaught Error: Cannot use object of type stdClass as array in /www/webvol14/uf/ybl0a8bkedlelpo/dbgolf.se/public_html/wp-admin/update-core.php:337
    Stack trace:
    #0 /www/webvol14/uf/ybl0a8bkedlelpo/dbgolf.se/public_html/wp-admin/update-core.php(771): list_plugin_updates()
    #1 {main}
    thrown i /www/webvol14/uf/ybl0a8bkedlelpo/dbgolf.se/public_html/wp-admin/update-core.php på rad 337

    2020-04-14T11:44:06+00:00 CRITICAL Uncaught InvalidArgumentException: Oidentifierad åtgärd 247341 in /www/webvol14/uf/ybl0a8bkedlelpo/dbgolf.se/public_html/wp-content/plugins/woocommerce/includes/libraries/action-scheduler/classes/ActionScheduler_wpPostStore.php:488
    Stack trace:
    #0 /www/webvol14/uf/ybl0a8bkedlelpo/dbgolf.se/public_html/wp-content/plugins/woocommerce/includes/libraries/action-scheduler/classes/ActionScheduler_wpPostStore.php(475): ActionScheduler_wpPostStore->get_date_gmt(‘247341’)
    #1 /www/webvol14/uf/ybl0a8bkedlelpo/dbgolf.se/public_html/wp-content/plugins/woocommerce/includes/libraries/action-scheduler/classes/ActionScheduler_wcSystemStatus.php(78): ActionScheduler_wpPostStore->get_date(‘247341’)
    #2 /www/webvol14/uf/ybl0a8bkedlelpo/dbgolf.se/public_html/wp-content/plugins/woocommerce/includes/libraries/action-scheduler/classes/ActionScheduler_wcSystemStatus.php(52): ActionScheduler_wcSystemStatus->get_action_status_date(‘complete’, ‘oldest’)
    #3 /www/webvol14/uf/ybl0a8bkedlelpo/dbgolf.se/public_html/wp-content/plugins/woocom i /www/webvol14/uf/ybl0a8bkedlelpo/dbgolf.se/public_html/wp-content/plugins/woocommerce/includes/libraries/action-scheduler/classes/ActionScheduler_wpPostStore.php på rad 488

    2020-04-14T11:45:07+00:00 CRITICAL Uncaught InvalidArgumentException: Ogiltigt åtgärds-ID. Ingen status hittades. in /www/webvol14/uf/ybl0a8bkedlelpo/dbgolf.se/public_html/wp-content/plugins/woocommerce/includes/libraries/action-scheduler/classes/ActionScheduler_wpPostStore.php:730
    Stack trace:
    #0 /www/webvol14/uf/ybl0a8bkedlelpo/dbgolf.se/public_html/wp-content/plugins/woocommerce/includes/libraries/action-scheduler/classes/ActionScheduler_ListTable.php(502): ActionScheduler_wpPostStore->get_status(‘247374’)
    #1 /www/webvol14/uf/ybl0a8bkedlelpo/dbgolf.se/public_html/wp-content/plugins/woocommerce/includes/libraries/action-scheduler/classes/ActionScheduler_Abstract_ListTable.php(641): ActionScheduler_ListTable->prepare_items()
    #2 /www/webvol14/uf/ybl0a8bkedlelpo/dbgolf.se/public_html/wp-content/plugins/woocommerce/includes/libraries/action-scheduler/classes/ActionScheduler_AdminView.php(81): ActionScheduler_Abstract_ListTable->display_page()
    #3 /www/webvol14/uf/ybl0a8bkedlelpo/dbgolf.se/public_html/wp-includes/class-wp-hook.php(287): ActionSc i /www/webvol14/uf/ybl0a8bkedlelpo/dbgolf.se/public_html/wp-content/plugins/woocommerce/includes/libraries/action-scheduler/classes/ActionScheduler_wpPostStore.php på rad 730

    Plugin Support Ena P (a11n)

    (@drwpcom)

    Thanks @andreaswalkendorff! We’ve received your response in the ticket and will get back to you there with some next steps.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can´t update WC Database error’ is closed to new replies.