Error saving order ID
-
Good day, receintly (i believe after an update a few days ago) im getting these weird errors in my order notes:
Error saving order ID 7978. Error saving action: Duplicate entry ‘138582’ for key ‘PRIMARY’
Another order:
Error saving order ID 7976. Error saving action: Duplicate entry ‘138582’ for key ‘PRIMARY’
Some orders have this exact same error displayed multiple times in the order note section.
Please assist
-
Memory: 4 of 128 MB (3%) | WP LIMIT: 128 MB | IP (Milan7763) | PHP 7.4.33 @64BitOS Ubuntu 22.04.2 LTS
Just tried to disable a plugin: Hide admin notices – if i have the name correct and the site crashed:
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.2.1
Active theme: Kadence (version 1.1.39)
Current plugin: WooCommerce (version 7.7.0)
PHP version 7.4.33
Error Details
=============
An error of type E_ERROR was caused in line 44 of the file /var/www/xxx/htdocs/wp-content/plugins/woocommerce/packages/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php. Error message: Uncaught RuntimeException: Error saving action: Error saving action: Duplicate entry ‘138582’ for key ‘PRIMARY’ in /var/www/xxx/htdocs/wp-content/plugins/woocommerce/packages/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php:44
Stack trace:
#0 /var/www/xxx/htdocs/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_HybridStore.php(242): ActionScheduler_DBStoreMigrator->save_action()
#1 /var/www/xxx/htdocs/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_ActionFactory.php(244): ActionScheduler_HybridStore->save_action()
#2 /var/www/xxx/htdocs/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_ActionFactory.php(114): ActionScheduler_ActionFactory->store()
#3 /var/www/xxx/htdocs/wp-content/plugins/woocommerce/packages/action-scheduler/functions.php(81): ActionScheduler_ActionFactory->single_unique()
#4 /var/www/xxx### WordPress Environment ### WordPress address (URL): https:// Site address (URL): https:// WC Version: 7.7.0 REST API Version: ? 7.7.0 WC Blocks Version: ? 10.2.0 Action Scheduler Version: ? 3.5.4 Log Directory Writable: ? WP Version: 6.2.1 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: nginx/1.24.0 PHP Version: 7.4.33 PHP Post Max Size: 100 MB PHP Time Limit: 300 PHP Max Input Vars: 20000 cURL Version: 7.81.0 OpenSSL/3.0.2 SUHOSIN Installed: – MySQL Version: 5.5.5-10.6.13-MariaDB-1:10.6.13+maria~ubu2204-log Max Upload Size: 100 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 7.7.0 WC Database Prefix: wp_ Total Database Size: 66.59MB Database Data Size: 50.10MB Database Index Size: 16.49MB wp_woocommerce_sessions: Data: 0.20MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_attribute_taxonomies: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_woocommerce_order_items: Data: 0.64MB + Index: 0.36MB + Engine MyISAM wp_woocommerce_order_itemmeta: Data: 6.94MB + Index: 3.41MB + Engine MyISAM wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_actionscheduler_actions: Data: 0.23MB + Index: 0.08MB + Engine MyISAM wp_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_actionscheduler_logs: Data: 2.22MB + Index: 1.70MB + Engine MyISAM wp_adtribes_my_conversions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_barcode_v3_dimension: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_barcode_v3_fields_matching: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_barcode_v3_label_sheets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_barcode_v3_paper_formats: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_barcode_v3_profiles: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_barcode_v3_templates: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_barcode_v3_template_to_user: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_barcode_v3_user_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_cartflows_ca_cart_abandonment: Data: 2.81MB + Index: 0.12MB + Engine MyISAM wp_cartflows_ca_email_history: Data: 0.08MB + Index: 0.09MB + Engine MyISAM wp_cartflows_ca_email_templates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_cartflows_ca_email_templates_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_commentmeta: Data: 0.05MB + Index: 0.04MB + Engine MyISAM wp_comments: Data: 2.04MB + Index: 0.75MB + Engine MyISAM wp_edd_customermeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_edd_customers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_fb3d_pages: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_hfcm_scripts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_hurrytimer_evergreen: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_litespeed_cssjs: Data: 0.02MB + Index: 0.01MB + Engine MyISAM wp_litespeed_img_optm: Data: 0.04MB + Index: 0.03MB + Engine MyISAM wp_litespeed_img_optming: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_lws_wr_achieved_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_lws_wr_historic: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailchimp_carts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mailchimp_jobs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_options: Data: 3.60MB + Index: 0.16MB + Engine MyISAM wp_pimwick_gift_card: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_pimwick_gift_card_activity: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_postmeta: Data: 8.29MB + Index: 5.04MB + Engine MyISAM wp_posts: Data: 2.41MB + Index: 0.33MB + Engine MyISAM wp_rank_math_404_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_rank_math_analytics_gsc: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_rank_math_analytics_objects: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_rank_math_internal_links: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wp_rank_math_internal_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_rank_math_redirections: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_rank_math_redirections_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_snippets: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_termmeta: Data: 0.04MB + Index: 0.05MB + Engine MyISAM wp_terms: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wp_term_relationships: Data: 0.03MB + Index: 0.07MB + Engine MyISAM wp_term_taxonomy: Data: 0.03MB + Index: 0.03MB + Engine MyISAM wp_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_usermeta: Data: 3.28MB + Index: 1.69MB + Engine MyISAM wp_users: Data: 0.21MB + Index: 0.14MB + Engine MyISAM wp_wcas_match_rows: Data: 0.05MB + Index: 0.05MB + Engine InnoDB wp_wcas_match_sets: Data: 0.05MB + Index: 0.05MB + Engine InnoDB wp_wcpdf_invoice_number: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_admin_notes: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_wc_admin_note_actions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_customer_lookup: Data: 0.13MB + Index: 0.11MB + Engine MyISAM wp_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_order_product_lookup: Data: 0.65MB + Index: 0.51MB + Engine MyISAM wp_wc_order_stats: Data: 0.15MB + Index: 0.08MB + Engine MyISAM wp_wc_order_tax_lookup: Data: 0.07MB + Index: 0.09MB + Engine MyISAM wp_wc_product_attributes_lookup: Data: 0.06MB + Index: 0.05MB + Engine InnoDB wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.04MB + Index: 0.05MB + Engine MyISAM wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_reserved_stock: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wdr_order_discounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wdr_order_item_discounts: Data: 0.16MB + Index: 0.16MB + Engine InnoDB wp_wdr_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfblockediplog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wfconfig: Data: 0.48MB + Index: 0.00MB + Engine InnoDB wp_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wffilemods: Data: 7.52MB + Index: 0.00MB + Engine InnoDB wp_wfhits: Data: 0.22MB + Index: 0.08MB + Engine InnoDB wp_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wfknownfilelist: Data: 5.52MB + Index: 0.00MB + Engine InnoDB wp_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wflogins: Data: 0.42MB + Index: 0.16MB + Engine InnoDB wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfls_role_counts: Data: 0.00MB + Index: 0.00MB + Engine MEMORY wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfnotifications: Data: 0.09MB + Index: 0.00MB + Engine InnoDB wp_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wfpklist_template_data: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wfstatus: Data: 0.13MB + Index: 0.09MB + Engine InnoDB wp_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpmailsmtp_tasks_meta: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_wpvivid_options: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wpvivid_scan_result: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpvivid_unused_uploads_files: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_yasr_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_yasr_log_multi_set: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_yasr_multi_set: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_yasr_multi_set_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_zp_locations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### aoc_popup: 3 attachment: 242 cartflows_flow: 1 cartflows_step: 1 custom_css: 2 customize_changeset: 9 cwginstocknotifier: 719 dft_cpo: 1 elementor_library: 5 envato_tk_import: 1 hurrytimer_countdown: 1 mc4wp-form: 1 mewz_attribute_stock: 154 nav_menu_item: 203 oembed_cache: 7 page: 24 popup: 5 popup_theme: 8 post: 1 product: 168 product_variation: 415 revision: 136 seedprod: 1 shop_coupon: 66 shop_order: 1664 shop_order_refund: 2 sliced_invoice: 3 wc_conditional_fee: 1 wcccf: 9 wccpf: 1 wcpa_pt_forms: 1 wp_block: 1 wp_global_styles: 1 wpcf7_contact_form: 1 wpcode: 2 xlwcty_thankyou: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (45) ### Back In Stock Notifier for WooCommerce | WooCommerce Waitlist Pro: by codewoogeek – 3.2 Code Snippets: by Code Snippets Pro – 3.3.0 Contact Form 7: by Takayuki Miyoshi – 5.7.6 Customer Reviews for WooCommerce: by CusRev – 5.26.1 Delivery Countdown Timer: by Arul Jayaraj – 1.0 Header Footer Code Manager: by 99robots – 1.1.32 3D FlipBook - Lite Edition: by iberezansky – 1.15.2 Kadence Blocks – Gutenberg Blocks for Page Builder Features: by Kadence WP – 3.0.38 Kadence Starter Templates: by Kadence WP – 1.2.20 Kadence WooCommerce Email Designer: by Kadence WP – 1.5.10 Linear Checkout for WooCommerce by Cartimize: by Cartimize – 1.1.7 Max Mega Menu: by megamenu.com – 3.2.2 Nginx Helper: by rtCamp – 2.2.3 Popup Maker: by Popup Maker – 1.18.1 WooCommerce PDF Invoices, Packing Slips, Delivery Notes and Shipping Labels: by WebToffee – 4.0.9 PW WooCommerce Gift Cards: by Pimwick LLC – 1.240 Server IP & Memory Usage Display: by Apasionados Apasionados del Marketing – 2.1.0 Sold Out Badge for WooCommerce: by Charlie Etienne – 4.3.6 SVG Support: by Benbodhi – 2.5.5 User Menus: by Code Atlantic – 1.3.1 Password Strength Settings for WooCommerce: by Daniel Santoro – 3.0.0 WooCommerce Weight Based Shipping: by weightbasedshipping.com – 5.5.1 WooCommerce UPC, EAN, and ISBN: by Scott Bolinger – 0.5.1 WooCommerce Cart Abandonment Recovery: by CartFlows Inc – 1.2.24 Checkout Field Editor for WooCommerce: by ThemeHigh – 1.8.2 Woo Discount Rules: by Flycart – 2.6.0 Extra product options For WooCommerce | Custom Product Addons and Fields: by ThemeHigh – 3.2.0 WooCommerce Blocks: by Automattic – 10.2.0 Order Weight for WooCommerce: by Andreas Karman – 1.2 Paystack WooCommerce Payment Gateway: by Tunbosun Ayinla – 5.7.4 Product Feed PRO for WooCommerce: by AdTribes.io – 12.6.2 Woo Store Vacation: by MyPreview – 1.8.0 NextMove Lite - Thank You Page for WooCommerce: by XLPlugins – 2.16.0 WooCommerce Attribute Stock: by Mewz – 1.9.4 WooCommerce Ozow Gateway: by <a />Ozow</a> – 1.0.0.0 Pay for Payment for WooCommerce: by Karolína Vysko?ilová – 2.1.7 WooCommerce Payfast Gateway: by WooCommerce – 1.5.2 WooCommerce: by Automattic – 7.7.0 MyRewards: by Long Watch Studio – 5.0.8 Wordfence Security: by Wordfence – 7.9.2 WP Crontrol: by John Blackbourn & crontributors – 1.15.2 WP-DBManager: by Lester 'GaMerZ' Chan – 2.80.9 WP Mail SMTP: by WP Mail SMTP – 3.8.0 WPS Hide Login: by WPServeur NicolasKulka wpformation – 1.9.8 WPvivid Backup Plugin: by WPvivid Team – 0.9.86 ### Inactive Plugins (6) ### Hide Admin Notices: by PontetLabs – 1.2.2 Mailchimp for WooCommerce: by Mailchimp – 2.8.3 MC4WP: Mailchimp for WordPress: by ibericode – 4.9.4 Tawk.to Live Chat: by Tawkto – 0.7.2 User Switching: by John Blackbourn & contributors – 1.7.0 WP BrowserUpdate: by Marco Steinbrecher – 4.6 ### Settings ### API Enabled: – Force SSL: – Currency: ZAR (R) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) pw gift card (pw-gift-card) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: – Enforce Approved Product Download Directories: – HPOS feature screen enabled: – HPOS feature enabled: – Order datastore: WC_Order_Data_Store_CPT HPOS data sync enabled: – ### WC Pages ### Shop base: #2908 - /shop/ Cart: #372 - /cart/ Checkout: ? Page does not contain the [woocommerce_checkout] shortcode or the woocommerce/checkout block. My account: #374 - /my-account/ Terms and conditions: ? Page not set ### Theme ### Name: Kadence Version: 1.1.39 Author URL: https://www.kadencewp.com/ Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme WooCommerce Support: ? ### Templates ### Overrides: /var/www/xxx/htdocs/wp-content/plugins/woo-gutenberg-products-block/templates/notices/error.php /var/www/xxx/htdocs/wp-content/plugins/woo-gutenberg-products-block/templates/notices/notice.php /var/www/xxx/htdocs/wp-content/plugins/woo-gutenberg-products-block/templates/notices/success.php ### Admin ### Enabled Features: activity-panels analytics coupons customer-effort-score-tracks import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing mobile-app-banner navigation onboarding onboarding-tasks remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices woo-mobile-welcome wc-pay-promotion wc-pay-welcome-page Disabled Features: product-block-editor minified-js new-product-management-experience product-variation-management settings Daily Cron: ? Next scheduled: 2023-05-18 09:34:57 +02:00 Options: ? Notes: 18 Onboarding: completed ### Action Scheduler ### Complete: 666 Oldest: 2023-04-16 16:35:29 +0000 Newest: 2023-05-17 15:44:04 +0000 Pending: 2 Oldest: 2023-05-18 15:34:35 +0000 Newest: 2023-05-18 15:34:35 +0000 ### Status report information ### Generated at: 2023-05-17 17:55:28 +02:00
Report was generated after a backup restore. Backup was made a couple of hours earlier
Hi @pandw
Thanks for reaching out!
im getting these weird errors in my order notes:
Error saving order ID 7978. Error saving action: Duplicate entry ‘138582’ for key ‘PRIMARY’
Another order:
Error saving order ID 7976. Error saving action: Duplicate entry ‘138582’ for key ‘PRIMARY’
Some orders have this exact same error displayed multiple times in the order note section.
To better picture what you are referring to here, can you please share with us a clear screenshot of the order details including the Order Notes so that we could address you more effectively?
If you don’t already have a screenshot service installed, you can try https://snipboard.io. You can share the direct link to the image as a response to this topic.
Furthermore, if you could also provide the fatal error logs (if any) under
WooCommerce > Status > Logs
.You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.
Thanks!
2023-05-17T04:36:51+00:00 ERROR Error saving order ID 7976. 2023-05-17T06:33:25+00:00 ERROR Error saving order ID 7940. 2023-05-17T06:57:52+00:00 ERROR Error saving order ID 7978. 2023-05-17T06:57:52+00:00 ERROR Error saving order ID 7978. 2023-05-17T06:58:20+00:00 ERROR Error saving order ID 7978. 2023-05-17T06:58:21+00:00 ERROR Error saving order ID 7978. 2023-05-17T06:58:24+00:00 ERROR Error saving order ID 7978. 2023-05-17T06:58:25+00:00 ERROR Error saving order ID 7978. 2023-05-17T06:58:25+00:00 ERROR Error saving order ID 7978. 2023-05-17T06:58:25+00:00 ERROR Error saving order ID 7978. 2023-05-17T06:58:28+00:00 ERROR Error saving order ID 7978. 2023-05-17T06:58:29+00:00 ERROR Error saving order ID 7978. 2023-05-17T06:58:29+00:00 ERROR Error saving order ID 7978. 2023-05-17T06:58:30+00:00 ERROR Error saving order ID 7978. 2023-05-17T06:58:34+00:00 ERROR Error saving order ID 7978. 2023-05-17T06:58:35+00:00 ERROR Error saving order ID 7978. 2023-05-17T06:58:41+00:00 ERROR Error saving order ID 7978. 2023-05-17T06:58:53+00:00 ERROR Error saving order ID 7978. 2023-05-17T06:58:54+00:00 ERROR Error saving order ID 7978. 2023-05-17T06:58:54+00:00 ERROR Error saving order ID 7978. 2023-05-17T06:58:54+00:00 ERROR Error saving order ID 7978. 2023-05-17T10:05:29+00:00 ERROR Error saving order ID 7979. 2023-05-17T10:05:42+00:00 ERROR Error saving order ID 7979. 2023-05-17T10:16:23+00:00 ERROR Error saving order ID 7978.
2023-05-04T03:07:06+00:00 CRITICAL Uncaught TypeError: array_merge(): Argument #1 must be of type array, null given in /var/www/xxx/htdocs/wp-content/plugins/woo-checkout-field-editor-pro/public/class-thwcfd-public-checkout.php:558 Stack trace: #0 /var/www/xxx/htdocs/wp-content/plugins/woo-checkout-field-editor-pro/public/class-thwcfd-public-checkout.php(558): array_merge() #1 /var/www/xxx/htdocs/wp-includes/class-wp-hook.php(308): THWCFD_Public_Checkout->display_custom_fields_in_emails() #2 /var/www/xxx/htdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters() #3 /var/www/xxx/htdocs/wp-content/plugins/woocommerce/includes/class-wc-emails.php(488): apply_filters() #4 /var/www/xxx/htdocs/wp-includes/class-wp-hook.php(310): WC_Emails->order_meta() #5 /var/www/xxx/htdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #6 /var/www/xxx/htdocs/wp-includes/plugin.php(517): WP_Hook->do_action() #7 /var/www/xxx/htdocs/wp-content/plugins/kadence-woocommerce-email-designer/templates/woo/emails/customer-on-hold-order.php(50): do_action() #8 /var/www/xxx/htdocs/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('...') #9 /var/www/xxx/htdocs/wp-content/plugins/woocommerce/includes/wc-core-functions.php(364): wc_get_template() #10 /var/www/xxx/htdocs/wp-content/plugins/woocommerce/includes/emails/class-wc-email-customer-on-hold-order.php(111): wc_get_template_html() #11 /var/www/xxx/htdocs/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(572): WC_Email_Customer_On_Hold_Order->get_content_html() #12 /var/www/xxx/htdocs/wp-content/plugins/woocommerce/includes/emails/class-wc-email-customer-on-hold-order.php(91): WC_Email->get_content() #13 /var/www/xxx/htdocs/wp-includes/class-wp-hook.php(308): WC_Email_Customer_On_Hold_Order->trigger() #14 /var/www/xxx/htdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #15 /var/www/xxx/htdocs/wp-includes/plugin.php(565): WP_Hook->do_action() #16 /var/www/xxx/htdocs/wp-content/plugins/woocommerce/includes/class-wc-emails.php(170): do_action_ref_array() #17 /var/www/xxx/htdocs/wp-includes/class-wp-hook.php(308): WC_Emails::send_transactional_email() #18 /var/www/xxx/htdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #19 /var/www/xxx/htdocs/wp-includes/plugin.php(517): WP_Hook->do_action() #20 /var/www/xxx/htdocs/wp-content/plugins/woocommerce/includes/class-wc-order.php(396): do_action() #21 /var/www/xxx/htdocs/wp-content/plugins/woocommerce/includes/class-wc-order.php(245): WC_Order->status_transition() #22 /var/www/xxx/htdocs/wp-content/plugins/woocommerce/includes/class-wc-order.php(357): WC_Order->save() #23 /var/www/xxx/htdocs/wp-content/plugins/woocommerce/includes/gateways/bacs/class-wc-gateway-bacs.php(371): WC_Order->update_status() #24 /var/www/xxx/htdocs/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1050): WC_Gateway_BACS->process_payment() #25 /var/www/xxx/htdocs/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1279): WC_Checkout->process_order_payment() #26 /var/www/xxx/htdocs/wp-content/plugins/linear-checkout-for-woo-by-cartimize/includes/Actions/CompleteOrderAction.php(65): WC_Checkout->process_checkout() #27 /var/www/xxx/htdocs/wp-content/plugins/linear-checkout-for-woo-by-cartimize/includes/Core/ActionCore.php(41): Cartimize\Actions\CompleteOrderAction->action() #28 /var/www/xxx/htdocs/wp-includes/class-wp-hook.php(308): Cartimize\Core\ActionCore->execute() #29 /var/www/xxx/htdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #30 /var/www/xxx/htdocs/wp-includes/plugin.php(517): WP_Hook->do_action() #31 /var/www/xxx/htdocs/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(96): do_action() #32 /var/www/xxx/htdocs/wp-includes/class-wp-hook.php(308): WC_AJAX::do_wc_ajax() #33 /var/www/xxx/htdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #34 /var/www/xxx/htdocs/wp-includes/plugin.php(517): WP_Hook->do_action() #35 /var/www/xxx/htdocs/wp-includes/template-loader.php(13): do_action() #36 /var/www/xxx/htdocs/wp-blog-header.php(19): require_once('...') #37 /var/www/xxx/htdocs/index.php(17): require('...') #38 {main} thrown in /var/www/xxx/htdocs/wp-content/plugins/woo-checkout-field-editor-pro/public/class-thwcfd-public-checkout.php on line 558 2023-05-04T03:09:36+00:00 CRITICAL Uncaught TypeError: array_merge(): Argument #1 must be of type array, null given in /var/www/xxx/htdocs/wp-content/plugins/woo-checkout-field-editor-pro/public/class-thwcfd-public-checkout.php:558 Stack trace: #0 /var/www/xxx/htdocs/wp-content/plugins/woo-checkout-field-editor-pro/public/class-thwcfd-public-checkout.php(558): array_merge() #1 /var/www/xxx/htdocs/wp-includes/class-wp-hook.php(308): THWCFD_Public_Checkout->display_custom_fields_in_emails() #2 /var/www/xxx/htdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters() #3 /var/www/xxx/htdocs/wp-content/plugins/woocommerce/includes/class-wc-emails.php(488): apply_filters() #4 /var/www/xxx/htdocs/wp-includes/class-wp-hook.php(310): WC_Emails->order_meta() #5 /var/www/xxx/htdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #6 /var/www/xxx/htdocs/wp-includes/plugin.php(517): WP_Hook->do_action() #7 /var/www/xxx/htdocs/wp-content/plugins/kadence-woocommerce-email-designer/templates/woo/emails/customer-processing-order.php(50): do_action() #8 /var/www/xxx/htdocs/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('...') #9 /var/www/xxx/htdocs/wp-content/plugins/woocommerce/includes/wc-core-functions.php(364): wc_get_template() #10 /var/www/xxx/htdocs/wp-content/plugins/woocommerce/includes/emails/class-wc-email-customer-processing-order.php(113): wc_get_template_html() #11 /var/www/xxx/htdocs/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(572): WC_Email_Customer_Processing_Order->get_content_html() #12 /var/www/xxx/htdocs/wp-content/plugins/woocommerce/includes/emails/class-wc-email-customer-processing-order.php(93): WC_Email->get_content() #13 /var/www/xxx/htdocs/wp-includes/class-wp-hook.php(308): WC_Email_Customer_Processing_Order->trigger() #14 /var/www/xxx/htdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #15 /var/www/xxx/htdocs/wp-includes/plugin.php(565): WP_Hook->do_action() #16 /var/www/xxx/htdocs/wp-content/plugins/woocommerce/includes/class-wc-emails.php(170): do_action_ref_array() #17 /var/www/xxx/htdocs/wp-includes/class-wp-hook.php(308): WC_Emails::send_transactional_email() #18 /var/www/xxx/htdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #19 /var/www/xxx/htdocs/wp-includes/plugin.php(517): WP_Hook->do_action() #20 /var/www/xxx/htdocs/wp-content/plugins/woocommerce/includes/class-wc-order.php(396): do_action() #21 /var/www/xxx/htdocs/wp-content/plugins/woocommerce/includes/class-wc-order.php(245): WC_Order->status_transition() #22 /var/www/xxx/htdocs/wp-content/plugins/woocommerce/includes/class-wc-order.php(143): WC_Order->save() #23 /var/www/xxx/htdocs/wp-content/plugins/woocommerce-payfast-gateway/includes/class-wc-gateway-payfast.php(767): WC_Order->payment_complete() #24 /var/www/xxx/htdocs/wp-content/plugins/woocommerce-payfast-gateway/includes/class-wc-gateway-payfast.php(653): WC_Gateway_PayFast->handle_itn_payment_complete() #25 /var/www/xxx/htdocs/wp-content/plugins/woocommerce-payfast-gateway/includes/class-wc-gateway-payfast.php(438): WC_Gateway_PayFast->handle_itn_request() #26 /var/www/xxx/htdocs/wp-includes/class-wp-hook.php(308): WC_Gateway_PayFast->check_itn_response() #27 /var/www/xxx/htdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #28 /var/www/xxx/htdocs/wp-includes/plugin.php(517): WP_Hook->do_action() #29 /var/www/xxx/htdocs/wp-content/plugins/woocommerce/includes/class-wc-api.php(161): do_action() #30 /var/www/xxx/htdocs/wp-includes/class-wp-hook.php(308): WC_API->handle_api_requests() #31 /var/www/xxx/htdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #32 /var/www/xxx/htdocs/wp-includes/plugin.php(565): WP_Hook->do_action() #33 /var/www/xxx/htdocs/wp-includes/class-wp.php(399): do_action_ref_array() #34 /var/www/xxx/htdocs/wp-includes/class-wp.php(780): WP->parse_request() #35 /var/www/xxx/htdocs/wp-includes/functions.php(1334): WP->main() #36 /var/www/xxx/htdocs/wp-blog-header.php(16): wp() #37 /var/www/xxx/htdocs/index.php(17): require('...') #38 {main} thrown in /var/www/xxx/htdocs/wp-content/plugins/woo-checkout-field-editor-pro/public/class-thwcfd-public-checkout.php on line 558 2023-05-04T03:21:01+00:00 CRITICAL Uncaught TypeError: array_merge(): Argument #1 must be of type array, null given in /var/www/xxx/htdocs/wp-content/plugins/woo-checkout-field-editor-pro/public/class-thwcfd-public-checkout.php:558 Stack trace: #0 /var/www/xxx/htdocs/wp-content/plugins/woo-checkout-field-editor-pro/public/class-thwcfd-public-checkout.php(558): array_merge() #1 /var/www/xxx/htdocs/wp-includes/class-wp-hook.php(308): THWCFD_Public_Checkout->display_custom_fields_in_emails() #2 /var/www/xxx/htdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters() #3 /var/www/xxx/htdocs/wp-content/plugins/woocommerce/includes/class-wc-emails.php(488): apply_filters() #4 /var/www/xxx/htdocs/wp-includes/class-wp-hook.php(310): WC_Emails->order_meta() #5 /var/www/xxx/htdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #6 /var/www/xxx/htdocs/wp-includes/plugin.php(517): WP_Hook->do_action() #7 /var/www/xxx/htdocs/wp-content/plugins/kadence-woocommerce-email-designer/templates/woo/emails/customer-on-hold-order.php(50): do_action() #8 /var/www/xxx/htdocs/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('...') #9 /var/www/xxx/htdocs/wp-content/plugins/woocommerce/includes/wc-core-functions.php(364): wc_get_template() #10 /var/www/xxx/htdocs/wp-content/plugins/woocommerce/includes/emails/class-wc-email-customer-on-hold-order.php(111): wc_get_template_html() #11 /var/www/xxx/htdocs/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(572): WC_Email_Customer_On_Hold_Order->get_content_html() #12 /var/www/xxx/htdocs/wp-content/plugins/woocommerce/includes/emails/class-wc-email-customer-on-hold-order.php(91): WC_Email->get_content() #13 /var/www/xxx/htdocs/wp-includes/class-wp-hook.php(308): WC_Email_Customer_On_Hold_Order->trigger() #14 /var/www/xxx/htdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #15 /var/www/xxx/htdocs/wp-includes/plugin.php(565): WP_Hook->do_action() #16 /var/www/xxx/htdocs/wp-content/plugins/woocommerce/includes/class-wc-emails.php(170): do_action_ref_array() #17 /var/www/xxx/htdocs/wp-includes/class-wp-hook.php(308): WC_Emails::send_transactional_email() #18 /var/www/xxx/htdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #19 /var/www/xxx/htdocs/wp-includes/plugin.php(517): WP_Hook->do_action() #20 /var/www/xxx/htdocs/wp-content/plugins/woocommerce/includes/class-wc-order.php(396): do_action() #21 /var/www/xxx/htdocs/wp-content/plugins/woocommerce/includes/class-wc-order.php(245): WC_Order->status_transition() #22 /var/www/xxx/htdocs/wp-content/plugins/woocommerce/includes/class-wc-order.php(357): WC_Order->save() #23 /var/www/xxx/htdocs/wp-content/plugins/woocommerce/includes/gateways/bacs/class-wc-gateway-bacs.php(371): WC_Order->update_status() #24 /var/www/xxx/htdocs/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1050): WC_Gateway_BACS->process_payment() #25 /var/www/xxx/htdocs/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1279): WC_Checkout->process_order_payment() #26 /var/www/xxx/htdocs/wp-content/plugins/linear-checkout-for-woo-by-cartimize/includes/Actions/CompleteOrderAction.php(65): WC_Checkout->process_checkout() #27 /var/www/xxx/htdocs/wp-content/plugins/linear-checkout-for-woo-by-cartimize/includes/Core/ActionCore.php(41): Cartimize\Actions\CompleteOrderAction->action() #28 /var/www/xxx/htdocs/wp-includes/class-wp-hook.php(308): Cartimize\Core\ActionCore->execute() #29 /var/www/xxx/htdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #30 /var/www/xxx/htdocs/wp-includes/plugin.php(517): WP_Hook->do_action() #31 /var/www/xxx/htdocs/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(96): do_action() #32 /var/www/xxx/htdocs/wp-includes/class-wp-hook.php(308): WC_AJAX::do_wc_ajax() #33 /var/www/xxx/htdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #34 /var/www/xxx/htdocs/wp-includes/plugin.php(517): WP_Hook->do_action() #35 /var/www/xxx/htdocs/wp-includes/template-loader.php(13): do_action() #36 /var/www/xxx/htdocs/wp-blog-header.php(19): require_once('...') #37 /var/www/xxx/htdocs/index.php(17): require('...') #38 {main} thrown in /var/www/xxx/htdocs/wp-content/plugins/woo-checkout-field-editor-pro/public/class-thwcfd-public-checkout.php on line 558
2023-05-15T14:53:22+00:00 ERROR Error saving order ID 7943. 2023-05-15T14:53:24+00:00 ERROR Error saving order ID 7943. 2023-05-15T14:53:25+00:00 ERROR Error saving order ID 7943. 2023-05-15T14:59:35+00:00 ERROR Error saving order ID 7958. 2023-05-15T14:59:45+00:00 ERROR Error saving order ID 7958. 2023-05-15T15:42:02+00:00 ERROR Error saving order ID 7959. 2023-05-15T15:42:09+00:00 ERROR Error saving order ID 7959.
2023-05-16T04:08:58+00:00 ERROR Error saving order ID 7951. 2023-05-16T04:09:10+00:00 ERROR Error saving order ID 7954. 2023-05-16T04:09:15+00:00 ERROR Error saving order ID 7954. 2023-05-16T04:11:21+00:00 ERROR Error saving order ID 7926. 2023-05-16T04:11:22+00:00 ERROR Error saving order ID 7926. 2023-05-16T04:14:25+00:00 ERROR Error saving order ID 7926. 2023-05-16T04:14:25+00:00 ERROR Error saving order ID 7926. 2023-05-16T04:14:28+00:00 ERROR Error saving order ID 7926. 2023-05-16T04:14:29+00:00 ERROR Error saving order ID 7926. 2023-05-16T04:14:29+00:00 ERROR Error saving order ID 7926. 2023-05-16T04:14:30+00:00 ERROR Error saving order ID 7926. 2023-05-16T04:16:23+00:00 ERROR Error saving order ID 7926. 2023-05-16T04:16:23+00:00 ERROR Error saving order ID 7926. 2023-05-16T04:16:24+00:00 ERROR Error saving order ID 7926. 2023-05-16T06:52:05+00:00 ERROR Error saving order ID 7945. 2023-05-16T06:52:07+00:00 ERROR Error saving order ID 7945. 2023-05-16T06:52:08+00:00 ERROR Error saving order ID 7945. 2023-05-16T07:16:04+00:00 ERROR Error saving order ID 7964. 2023-05-16T07:16:05+00:00 ERROR Error saving order ID 7964. 2023-05-16T07:16:09+00:00 ERROR Error saving order ID 7964. 2023-05-16T07:16:10+00:00 ERROR Error saving order ID 7964. 2023-05-16T07:16:10+00:00 ERROR Error saving order ID 7964. 2023-05-16T07:16:11+00:00 ERROR Error saving order ID 7964. 2023-05-16T07:16:35+00:00 ERROR Error saving order ID 7964. 2023-05-16T07:16:36+00:00 ERROR Error saving order ID 7964. 2023-05-16T07:16:43+00:00 ERROR Error saving order ID 7964. 2023-05-16T07:20:43+00:00 ERROR Error saving order ID 7965. 2023-05-16T07:20:43+00:00 ERROR Error saving order ID 7965. 2023-05-16T07:20:46+00:00 ERROR Error saving order ID 7965. 2023-05-16T07:20:46+00:00 ERROR Error saving order ID 7965. 2023-05-16T07:20:47+00:00 ERROR Error saving order ID 7965. 2023-05-16T07:20:47+00:00 ERROR Error saving order ID 7965. 2023-05-16T07:20:54+00:00 ERROR Error saving order ID 7965. 2023-05-16T07:20:55+00:00 ERROR Error saving order ID 7954. 2023-05-16T07:20:56+00:00 ERROR Error saving order ID 7965. 2023-05-16T07:20:56+00:00 ERROR Error saving order ID 7954. 2023-05-16T07:20:58+00:00 ERROR Error saving order ID 7954. 2023-05-16T07:21:03+00:00 ERROR Error saving order ID 7965. 2023-05-16T07:21:28+00:00 ERROR Error saving order ID 7965. 2023-05-16T07:21:30+00:00 ERROR Error saving order ID 7965. 2023-05-16T07:21:31+00:00 ERROR Error saving order ID 7965. 2023-05-16T07:21:38+00:00 ERROR Error saving order ID 7965. 2023-05-16T07:21:40+00:00 ERROR Error saving order ID 7965. 2023-05-16T07:21:41+00:00 ERROR Error saving order ID 7965. 2023-05-16T08:26:49+00:00 ERROR Error saving order ID 7967. 2023-05-16T08:28:51+00:00 ERROR Error saving order ID 7966. 2023-05-16T08:29:00+00:00 ERROR Error saving order ID 7966. 2023-05-16T13:23:54+00:00 ERROR Error saving order ID 7965. 2023-05-16T13:23:56+00:00 ERROR Error saving order ID 7965. 2023-05-16T13:23:57+00:00 ERROR Error saving order ID 7965. 2023-05-16T13:23:59+00:00 ERROR Error saving order ID 7965. 2023-05-16T13:24:05+00:00 ERROR Error saving order ID 7965. 2023-05-16T13:24:07+00:00 ERROR Error saving order ID 7965. 2023-05-16T13:24:08+00:00 ERROR Error saving order ID 7965. 2023-05-16T13:25:20+00:00 ERROR Error saving order ID 7971. 2023-05-16T13:26:59+00:00 ERROR Error saving order ID 7970. 2023-05-16T13:27:15+00:00 ERROR Error saving order ID 7970. 2023-05-16T13:30:47+00:00 ERROR Error saving order ID 7965. 2023-05-16T13:45:34+00:00 ERROR Error saving order ID 7951. 2023-05-16T13:45:35+00:00 ERROR Error saving order ID 7951. 2023-05-16T13:45:37+00:00 ERROR Error saving order ID 7951. 2023-05-16T14:01:03+00:00 ERROR Error saving order ID 7965. 2023-05-16T14:01:10+00:00 ERROR Error saving order ID 7965. 2023-05-16T14:01:11+00:00 ERROR Error saving order ID 7965. 2023-05-16T14:21:02+00:00 ERROR Error saving order ID 7966. 2023-05-16T14:21:03+00:00 ERROR Error saving order ID 7966. 2023-05-16T14:21:05+00:00 ERROR Error saving order ID 7966. 2023-05-16T14:29:33+00:00 ERROR Error saving order ID 7949. 2023-05-16T17:39:31+00:00 ERROR Error saving order ID 7976. 2023-05-16T17:39:32+00:00 ERROR Error saving order ID 7976. 2023-05-16T17:39:49+00:00 ERROR Error saving order ID 7976. 2023-05-16T20:44:08+00:00 ERROR Error saving order ID 7926.
These are the error logs i have after the backup restore, so some might have gone missing due to the earlier site version restore
Thank you for your reply @xue28 and for taking the time to help me
Hello @pandw,
Thank you for sharing the logs!
Seems like the problem is generated from the Checkout Field Editor plugin so I suggest disabling it altogether.
Also, please make sure your checkout page has this shortcodewoocommerce_checkout
.If that doesn’t help, then please try disabling all plugins except WooCommerce while activating the default Storefront theme.
If the problem is not present after doing so, then you know there was a plugin conflict. You can enable plugins one by one again to find the culprit.
Let us know how it goes!
- The topic ‘Error saving order ID’ is closed to new replies.