• Resolved slashto

    (@slashto)


    Hi, when I try to update the woocommerce database, it gives me an error http 500

    [29-Apr-2019 10:36:59 UTC] PHP Fatal error: Uncaught RuntimeException: Error saving action: Unable to save action. in /home/hydrothe/testei/wp-content/plugins/woocommerce/includes/libraries/action-scheduler/classes/ActionScheduler_wpPostStore.php:33
    Stack trace:
    #0 /home/hydrothe/testei/wp-content/plugins/woocommerce/includes/libraries/action-scheduler/classes/ActionScheduler_ActionFactory.php(109): ActionScheduler_wpPostStore->save_action(Object(ActionScheduler_Action))
    #1 /home/hydrothe/testei/wp-content/plugins/woocommerce/includes/libraries/action-scheduler/classes/ActionScheduler_ActionFactory.php(59): ActionScheduler_ActionFactory->store(Object(ActionScheduler_Action))
    #2 /home/hydrothe/testei/wp-content/plugins/woocommerce/includes/libraries/action-scheduler/functions.php(18): ActionScheduler_ActionFactory->single(‘woocommerce_run…’, Array, 1556534219, ‘woocommerce-db-…’)
    #3 /home/hydrothe/testei/wp-content/plugins/woocommerce/includes/queue/class-wc-action-queue.php(44): as_schedule_single_action(1556534219, ‘woocommerce_run…’, Array, ‘wo in /home/hydrothe/testei/wp-content/plugins/woocommerce/includes/libraries/action-scheduler/classes/ActionScheduler_wpPostStore.php on line 33
    [29-Apr-2019 10:38:05 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/hydrothe/testei/wp-content/plugins/woocommerce/includes/class-wc-install.php on line 480
    [29-Apr-2019 10:38:05 UTC] WordPress errore sul database Duplicate entry ‘0’ for key ‘PRIMARY’ per la query INSERT INTO wpnn_posts (post_author, post_date, post_date_gmt, post_content, post_content_filtered, post_title, post_excerpt, post_status, post_type, comment_status, ping_status, post_password, post_name, to_ping, pinged, post_modified, post_modified_gmt, post_parent, menu_order, post_mime_type, guid) VALUES (1, ‘2019-04-29 10:38:05’, ‘2019-04-29 10:38:05’, ”, ”, ‘woocommerce-placeholder’, ”, ‘inherit’, ‘attachment’, ‘closed’, ‘closed’, ”, ‘woocommerce-placeholder’, ”, ”, ‘2019-04-29 10:38:05’, ‘2019-04-29 10:38:05’, 0, 0, ‘image/png’, ‘https://testei.betatesting.it/wp-content/uploads/2019/04/woocommerce-placeholder.png’) fatta da require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Install::check_version, WC_Install::install, WC_Install::create_files, WC_Install::create_placeholder_image, wp_insert_attachment, wp_insert_post
    [29-Apr-2019 10:38:06 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/hydrothe/testei/wp-content/plugins/woocommerce/includes/class-wc-install.php on line 480
    [29-Apr-2019 10:38:07 UTC] WordPress errore sul database Duplicate entry ‘0’ for key ‘PRIMARY’ per la query INSERT INTO wpnn_posts (post_author, post_date, post_date_gmt, post_content, post_content_filtered, post_title, post_excerpt, post_status, post_type, comment_status, ping_status, post_password, post_name, to_ping, pinged, post_modified, post_modified_gmt, post_parent, menu_order, post_mime_type, guid) VALUES (0, ‘2019-04-29 10:38:07’, ‘2019-04-29 10:38:07’, ”, ”, ‘woocommerce-placeholder’, ”, ‘inherit’, ‘attachment’, ‘closed’, ‘closed’, ”, ‘woocommerce-placeholder’, ”, ”, ‘2019-04-29 10:38:07’, ‘2019-04-29 10:38:07’, 0, 0, ‘image/png’, ‘https://testei.betatesting.it/wp-content/uploads/2019/04/woocommerce-placeholder.png’) fatta da require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Install::check_version, WC_Install::install, WC_Install::create_files, WC_Install::create_placeholder_image, wp_insert_attachment, wp_insert_post
    [29-Apr-2019 10:39:05 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/hydrothe/testei/wp-content/plugins/woocommerce/includes/class-wc-install.php on line 480
    [29-Apr-2019 10:39:05 UTC] WordPress errore sul database Duplicate entry ‘0’ for key ‘PRIMARY’ per la query INSERT INTO wpnn_posts (post_author, post_date, post_date_gmt, post_content, post_content_filtered, post_title, post_excerpt, post_status, post_type, comment_status, ping_status, post_password, post_name, to_ping, pinged, post_modified, post_modified_gmt, post_parent, menu_order, post_mime_type, guid) VALUES (1, ‘2019-04-29 10:39:05’, ‘2019-04-29 10:39:05’, ”, ”, ‘woocommerce-placeholder’, ”, ‘inherit’, ‘attachment’, ‘closed’, ‘closed’, ”, ‘woocommerce-placeholder’, ”, ”, ‘2019-04-29 10:39:05’, ‘2019-04-29 10:39:05’, 0, 0, ‘image/png’, ‘https://testei.betatesting.it/wp-content/uploads/2019/04/woocommerce-placeholder.png’) fatta da require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Install::check_version, WC_Install::install, WC_Install::create_files, WC_Install::create_placeholder_image, wp_insert_attachment, wp_insert_post
    [29-Apr-2019 10:39:06 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/hydrothe/testei/wp-content/plugins/woocommerce/includes/class-wc-install.php on line 480
    [29-Apr-2019 10:39:07 UTC] WordPress errore sul database Duplicate entry ‘0’ for key ‘PRIMARY’ per la query INSERT INTO wpnn_posts (post_author, post_date, post_date_gmt, post_content, post_content_filtered, post_title, post_excerpt, post_status, post_type, comment_status, ping_status, post_password, post_name, to_ping, pinged, post_modified, post_modified_gmt, post_parent, menu_order, post_mime_type, guid) VALUES (0, ‘2019-04-29 10:39:07’, ‘2019-04-29 10:39:07’, ”, ”, ‘woocommerce-placeholder’, ”, ‘inherit’, ‘attachment’, ‘closed’, ‘closed’, ”, ‘woocommerce-placeholder’, ”, ”, ‘2019-04-29 10:39:07’, ‘2019-04-29 10:39:07’, 0, 0, ‘image/png’, ‘https://testei.betatesting.it/wp-content/uploads/2019/04/woocommerce-placeholder.png’) fatta da require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Install::check_version, WC_Install::install, WC_Install::create_files, WC_Install::create_placeholder_image, wp_insert_attachment, wp_insert_post

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support EtienneP a11n

    (@etiennep)

    Hi there!

    Try the database update with only WooCommerce and a default theme like Storefront active to see if it is being caused by a conflict.

    Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WooCommerce database update required’ is closed to new replies.