• Resolved Ian Scott

    (@ianhughscott)


    We noticed today that WooCommerce orders are being deleted (put in the Trash) by the WooCommerce system. The website has WP Activity Log and going through those logs, I can see multiple instances of logs like this:

    "EditorLinkOrder: https://420now.co/wp-admin/admin.php?page=wc-orders&action=edit&id=15023
    OrderID: 15023
    OrderStatus: trash
    OrderStatusSlug: trash
    OrderTitle: #15023 Ella Marsh
    UserData: array ( 'username' => 'System', )
    ClientIP: 108.162.241.184
    Severity: 300
    Object: woocommerce-order
    EventType: deleted
    UserAgent: WordPress/6.7.1; https://420now.co
    Username: WooCommerce System"




    I’m also seeing large number of orders that have had their status changed from Completed to Pending Payment – and inside the order, the customers’ details are all missing.

    When trying to restore the orders in the Trash, they end up being restored but their status is marked at “Cancelled.” These orders do have the Customer information.

    Other observations: The website was switched to using HPOS tables probably around early January but still has “Enable Compatible Mode” enabled. There are 859 orders syncing as of the moment I write this.
    There are a large number of “Fatal Errors” in the WooCommerce logs that are all similar to this:

    Uncaught InvalidArgumentException: Unidentified action 3325964: we were unable to mark this action as having failed. It may may have been deleted by another process. in /var/www/vhosts/420now.ca/420now.co/wp-content/plugins/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php:1185 Additional context{ “error”: { “type”: 1, “file”: “/var/www/vhosts/420now.ca/420now.co/wp-content/plugins/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php”, “line”: 1185 }, “remote-logging”: true, “backtrace”: [ “”, “#0 /var/www/vhosts/420now.ca/420now.co/wp-content/plugins/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php(134): ActionScheduler_DBStore->mark_failure()”, “#1 /var/www/vhosts/420now.ca/420now.co/wp-content/plugins/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php(112): ActionScheduler_Abstract_QueueRunner->handle_action_error()”, “#2 /var/www/vhosts/420now.ca/420now.co/wp-content/plugins/action-scheduler/classes/ActionScheduler_QueueRunner.php(188): ActionScheduler_Abstract_QueueRunner->process_action()”, “#3 /var/www/vhosts/420now.ca/420now.co/wp-content/plugins/action-scheduler/classes/ActionScheduler_QueueRunner.php(158): ActionScheduler_QueueRunner->do_batch()”, “#4 /var/www/vhosts/420now.ca/420now.co/wp-includes/class-wp-hook.php(324): ActionScheduler_QueueRunner->run()”, “#5 /var/www/vhosts/420now.ca/420now.co/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()”, “#6 /var/www/vhosts/420now.ca/420now.co/wp-includes/plugin.php(565): WP_Hook->do_action()”, “#7 /var/www/vhosts/420now.ca/420now.co/wp-cron.php(191): do_action_ref_array()”, “#8 {main}”, “thrown” ]

    I have created a clone of the site and disabled all plugins to see if I can find out what is going on but am seeing similar fatal error there as well.

    The System Info Report:

    System Status Report

    ### WordPress Environment ###

    WordPress address (URL): [Redacted]
    Site address (URL): [Redacted]
    WC Version: 9.6.2
    Legacy REST API Package Version: The Legacy REST API plugin is not installed on this site.
    Action Scheduler Version: ? 3.9.0
    Log Directory Writable: ?
    WP Version: 6.7.2
    WP Multisite: –
    WP Memory Limit: 1 GB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_US
    External object cache: –

    ### Server Environment ###

    Server Info: Apache
    PHP Version: 8.2.27
    PHP Post Max Size: 240 MB
    PHP Time Limit: 120
    PHP Max Input Vars: 1000
    cURL Version: 7.29.0
    NSS/3.90

    SUHOSIN Installed: –
    MySQL Version: 10.11.9-MariaDB
    Max Upload Size: 40 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?

    ### Database ###

    [REDACTED]

    ### Post Type Counts ###

    acf-field: 2
    acf-field-group: 2
    attachment: 1366
    cfw_order_bumps: 3
    custom_css: 3
    customize_changeset: 4
    fgf_master_log: 380
    fgf_rules: 19
    fl-builder-history: 3
    fl-builder-template: 16
    fl-theme-layout: 2
    follow_up_email: 1
    lws_badge: 1
    lws-wre-event: 9
    lws-wre-pool: 3
    lws-wre-unlockable: 3
    mailpoet_page: 1
    nav_menu_item: 145
    omapi: 1
    page: 52
    popup: 3
    popup_theme: 8
    post: 9
    product: 1080
    product_variation: 461
    revision: 133
    rm_content_editor: 1
    shop_coupon: 3
    shop_order: 8614
    shop_order_placehold: 850
    wfob_bump: 2
    wp_global_styles: 2
    wpcode: 3
    yith-wcbm-badge: 19
    ywcbm-badge-rule: 3

    ### Security ###

    Secure connection (HTTPS): ?
    Hide errors from visitors: ?

    ### Active Plugins (47) ###

    Beaver Builder Plugin (Pro Version): by The Beaver Builder Team – 2.8.6.1
    Beaver Themer: by The Beaver Builder Team – 1.4.11.2
    Ultimate Addons for Beaver Builder: by Brainstorm Force – 1.36.2
    PublishPress Capabilities: by PublishPress – 2.19.1
    Classic Editor: by WordPress Contributors – 1.6.7
    Classic Widgets: by WordPress Contributors – 0.3
    Anti-Spam by CleanTalk: by CleanTalk - Anti-Spam Protection – 6.51
    Cloudflare: by Cloudflare
    Inc. – 4.12.8

    Code Snippets: by Code Snippets Pro – 3.6.8
    CommerceGurus CommerceKit: by CommerceGurus – 2.3.3
    Customizer Export/Import: by The Beaver Builder Team – 0.9.8
    Flying Pages: Preload Pages for Faster Navigation & Improved User Experience: by WP Speed Matters – 2.4.7
    Free Gifts for WooCommerce: by Flintop – 10.1.0
    Gravity Forms: by Gravity Forms – 2.9.4
    Health Check & Troubleshooting: by The www.ads-software.com community – 1.7.1
    Index WP MySQL For Speed: by Oliver Jones
    Rick James – 1.5.2

    Kirki Customizer Framework: by Themeum – 5.1.0
    Klaviyo: by Klaviyo
    Inc. – 3.4.3

    MainWP Child Reports: by MainWP – 2.2.3
    MainWP Child: by MainWP – 5.4
    WP Mobile Bottom Menu: by WP Messiah – 1.2.9
    OptinMonster: by OptinMonster Popup Builder Team – 2.16.16
    Popup Maker: by Popup Maker – 1.20.4
    PW WooCommerce Bulk Edit Pro: by Pimwick
    LLC – 3.4

    Rank Math SEO PRO: by Rank Math SEO – 3.0.82
    Rank Math SEO: by Rank Math SEO – 1.0.239
    ShortPixel Adaptive Images: by ShortPixel – 3.10.0
    SMTP2GO - Email Made Easy: by SMTP2GO – 1.11.1
    Temporary Login Without Password: by StoreApps – 1.9.0
    UpdraftPlus - Backup/Restore: by TeamUpdraft
    DavidAnderson – 2.25.2.26

    Import Export WordPress Users and WooCommerce Customers: by WebToffee – 2.6.2
    Discount Rules Core: by Flycart – 2.6.7
    Faview - Virtual Reviews for WooCommerce: by VillaTheme – 1.2.18
    BLAZING Email Transfer Payment Gateway: by Massoud Shakeri
    BlazingSpider – 2.6.2

    WooCommerce Free Gift Coupons: by Kathy Darling – 3.3.5 (update to version 3.7.1 is available)
    WP Menu Cart: by WP Overnight – 2.14.10
    WooCommerce Product Table: by Barn2 Plugins – 3.1.3
    WooCommerce: by Automattic – 9.6.2 (update to version 9.7.1 is available)
    MyRewards Addon : Points Reports: by Long Watch Studio – 1.0.4
    MyRewards: by Long Watch Studio – 5.4.8
    Wordfence Security: by Wordfence – 8.0.3
    WordPress Importer: by wordpressdotorg – 0.8.3
    WP Mobile Bottom Menu Pro: by BOOM DEVS – 1.0.6
    WordPress Persistent Login: by Luke Seager – 2.1.4
    WP Activity Log: by Melapress – 5.3.2
    Custom Product Tabs for WooCommerce: by Code Parrots – 1.8.5
    YITH WooCommerce Badge Management Premium: by YITH – 3.15.0

    ### Inactive Plugins (28) ###

    Accessibility Checker: by Equalize Digital – 1.21.0
    Action Scheduler: by Automattic – 3.9.2
    Advanced Custom Fields: by WP Engine – 6.3.12
    Advanced Flat Rate Shipping For WooCommerce: by theDotstore – 4.4.0
    AnalyticsWP: by Solid Plugins – 1.10.0
    Asset CleanUp: Page Speed Booster: by Gabe Livan – 1.4.0.2
    Autoptimize: by Frank Goossens (futtta) – 3.1.13
    Better Search Replace: by WP Engine – 1.4.10
    Breeze: by Cloudways – 2.2.4
    Buy one get one free PRO: by PI Websolution – 1.4.41
    Category Discount Woocommerce: by QuanticEdge – 4.16
    CheckoutWC: by Objectiv – 6.2.2
    Flying Scripts: Delay JavaScript to Improve Site Speed & Performance: by WP Speed Matters – 1.2.4
    FunnelKit Order Bumps: by Funnelkit – 1.24.1
    Jetpack: by Automattic – 14.3
    Login as User: by Web357 – 1.5.9
    Max Mega Menu: by megamenu.com – 3.4.1
    Performance Lab: by WordPress Performance Team – 3.9.0
    Pre* Party Resource Hints: by Sam Perrow – 1.8.20
    Query Monitor: by John Blackbourn – 3.17.2
    Scalability Pro: by Dave Hilditch – 5.07
    Side Cart WooCommerce: by XootiX – 2.6.1
    Widget Disable: by required – 3.0.1
    WooCommerce - ShipStation Integration: by WooCommerce – 4.4.6 (update to version 4.4.7 is available)
    WooCommerce Enable Reviews - Bulk Edit: by Mário Valney – 1.0.0
    WOOF - WooCommerce Products Filter: by realmag777 – 3.3.0
    Woo Product Category Discount Pro: by WooExtend – 4.0
    WP Crontrol: by John Blackbourn – 1.18.0

    ### Dropin Plugins () ###

    maintenance.php: maintenance.php

    ### Must Use Plugins (3) ###

    Health Check Troubleshooting Mode: by – 1.9.2
    Index WP MySQL For Speed Upgrade Filter for mu-plugins.: by – 1.5.2
    WP Migrate DB Compatibility: by Delicious Brains – 1.2

    ### Settings ###

    Legacy API Enabled: –
    Force SSL: –
    Currency: CAD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    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 enabled: ?
    Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore
    HPOS data sync enabled: ?

    ### Logging ###

    Enabled: ?
    Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2
    Retention period: 30 days
    Level threshold: –
    Log directory size: 715 MB

    ### WC Pages ###

    Shop base: #15 - /shop/
    Cart: #16 - /cart/ - Contains the [woocommerce_cart] shortcode
    Checkout: #17 - /checkout/ - Contains the [woocommerce_checkout] shortcode
    My account: #18 - /my-account/
    Terms and conditions: ? Page not set

    ### Theme ###

    Name: Shoptimizer Child Theme
    Version: 1.3.1
    Author URL:
    Child Theme: ?
    Parent Theme Name: Shoptimizer
    Parent Theme Version: 2.7.9
    Parent Theme Author URL: https://www.commercegurus.com/
    Theme type: Classic theme
    WooCommerce Support: ?

    ### Templates ###

    Overrides: –

    ### Admin ###

    Enabled Features: activity-panels
    analytics
    product-block-editor
    coupons
    core-profiler
    customize-store
    customer-effort-score-tracks
    import-products-task
    experimental-fashion-sample-products
    shipping-smart-defaults
    shipping-setting-tour
    homescreen
    marketing
    mobile-app-banner
    onboarding
    onboarding-tasks
    pattern-toolkit-full-composability
    product-custom-fields
    remote-inbox-notifications
    remote-free-extensions
    payment-gateway-suggestions
    printful
    shipping-label-banner
    subscriptions
    store-alerts
    transient-notices
    woo-mobile-welcome
    wc-pay-promotion
    wc-pay-welcome-page
    launch-your-store

    Disabled Features: product-data-views
    experimental-blocks
    coming-soon-newsletter-template
    minified-js
    product-pre-publish-modal
    settings
    async-product-editor-category-field
    product-editor-template-system
    blueprint
    reactify-classic-payments-settings
    use-wp-horizon
    add-to-cart-with-options-stepper-layout
    blockified-add-to-cart

    Daily Cron: ? Next scheduled: 2025-03-06 05:15:15 -05:00
    Options: ?
    Notes: 47
    Onboarding: completed

    ### Action Scheduler ###

    Complete: 1,234,724
    Oldest: 2025-02-16 01:26:09 -0500
    Newest: 2025-03-05 16:20:01 -0500

    Pending: 6,231
    Oldest: 2025-03-05 03:27:31 -0500
    Newest: 2025-03-08 03:36:53 -0500

    Failed: 9,924
    Oldest: 2025-03-02 12:56:20 -0500
    Newest: 2025-03-05 16:20:46 -0500

    Canceled: 24
    Oldest: 2025-02-22 02:50:37 -0500
    Newest: 2025-02-22 02:50:37 -0500


    ### Status report information ###

    Generated at: 2025-03-05 16:24:31 -05:00

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

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

    (@ianhughscott)

    Another observation – there are a large number of orders that have also has their status updated to “Pending Payment,” but in these orders, all customer info including name, email address, billing and shipping information is completely missing.

    Plugin Support Jonayed (woo-hc)

    (@jonayedhosen)

    Hi @ianhughscott ,

    I’m sorry to hear about the issues you’re experiencing with your WooCommerce orders. That sounds frustrating! I’m happy to help you sort this out.

    A good first step is to check how long pending and canceled orders are being retained. You can do this by going to WooCommerce > Settings > Accounts & Privacy and looking at the “Retain pending orders” and “Retain canceled orders” settings. If these are set too low, WooCommerce might be automatically removing orders before you expect. You can adjust them if needed to keep orders from being trashed too soon.

    Give that a try, and let me know if you’re still running into trouble!

    Thread Starter Ian Scott

    (@ianhughscott)

    Thanks for your reply. I have a better idea of what is going on now, and have it almost resolved. I’d post more about the issue, but am in the middle of continuing to work on it, but I’ll mark this as close.

    Your solution would not have worked, but I do appreciate very much for your time and effort. I’ll mark this as resolved as I have things figured out.

    Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello Ian Scott,

    Thank you for your reply.

    I am glad to know that you have figured out the problem and are close to resolving the issue.

    It would be great if you could share the solution with us here once you have fixed the problem.
    That would be helpful for the WooCommerce community.

    Have a great day!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.