• Resolved kosmicare

    (@kosmicare)


    Hi there,
    I updated the plugin to the latest version 3.2.9 today.
    After the update I was entering tracking numbers and a few times I got this fatal error.
    I was using “set order status to completed” and the status for those orders was a custom status (“awaiting dispatch”)

    2021-08-24T16:23:25+00:00 CRITICAL Uncaught Exception: Invalid download. in /home/username/public_html/wp/wp-content/plugins/woocommerce/includes/data-stores/class-wc-customer-download-data-store.php:167
    Stack trace:
    #0 /home/username/public_html/wp/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(159): WC_Customer_Download_Data_Store->read(Object(WC_Customer_Download))
    #1 /home/username/public_html/wp/wp-content/plugins/woocommerce/includes/class-wc-customer-download.php(66): WC_Data_Store->read(Object(WC_Customer_Download))
    #2 /home/username/public_html/wp/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-downloads.php(99): WC_Customer_Download->__construct('19195')
    #3 /home/username/public_html/wp/wp-includes/class-wp-hook.php(303): WC_Meta_Box_Order_Downloads::save(44135, Object(WP_Post))
    #4 /home/username/public_html/wp/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
    #5 /home/username/public_html/wp/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #6 /home/reagqpq in /home/username/public_html/wp/wp-content/plugins/woocommerce/includes/data-stores/class-wc-customer-download-data-store.php on line 167
    
    ### WordPress Environment ###
    
    WC Version: 5.6.0
    REST API Version: ? 5.6.0
    WC Blocks Version: ? 5.7.0
    Action Scheduler Version: ? 3.2.1
    WC Admin Version: ? 2.5.1
    Log Directory Writable: ?
    WP Version: 5.8
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: –
    Language: en_GB
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: LiteSpeed
    PHP Version: 7.3.29
    PHP Post Max Size: 1 GB
    PHP Time Limit: 300
    PHP Max Input Vars: 1000
    cURL Version: 7.71.0
    OpenSSL/1.1.1d
    
    SUHOSIN Installed: –
    MySQL Version: 10.3.30-MariaDB-log-cll-lve
    Max Upload Size: 1 GB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Post Type Counts ###
    
    askme: 34
    attachment: 173
    custom_css: 2
    gmpf: 1
    jp_img_sitemap: 1
    jp_sitemap: 1
    jp_sitemap_master: 1
    nav_menu_item: 13
    oembed_cache: 2
    page: 18
    post: 47
    postman_sent_mail: 16
    product: 34
    product_variation: 2
    revision: 141
    safecss: 1
    shop_coupon: 244
    shop_order: 32405
    shop_order_refund: 380
    user_request: 3
    wafs: 1
    wc_order_email: 4
    wc_order_status: 9
    wp_block: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (37) ###
    
    Add Reference Field to BACS: by Reagent Tests UK / WPCodeLibrary.com – 1.0
    Change Default Checkout Box Text: by Reagent Tests UK – 1.0
    Theme Functions Changes: by Reagent Tests UK – 1.0
    Mailing List Checkbox: by WebAware Pty Ltd – 1.0
    Ask Me: by Timo Schiller
    Alexander Siemer-Schmetzke – 0.5
    
    Autoptimize: by Frank Goossens (futtta) – 2.9.1
    GDPR Cookie Consent: by WebToffee – 2.0.5
    CryptoWoo HD Wallet Add-on: by Trustless Technologies GmbH – 0.10.8
    CryptoWoo Monero Add-on: by We Program IT | legal company name: OS IT Programming AS | Company org nr: NO 921 074 077 – 1.0.7
    CryptoWoo: by Trustless Technologies GmbH – 0.25.24
    Disable Cart Fragments: by Optimocha – 2.0
    Site Kit by Google: by Google – 1.39.0
    Log HTTP Requests: by FacetWP
    LLC – 1.3
    
    Post SMTP: by Yehuda Hassine – 2.0.23
    Product Feed on WooCommerce for Google, Awin, Shareasale, Bing, and More: by ExportFeed.com – 3.5.3
    reCaptcha for WooCommerce: by I Thirteen Web Solution – 2.20
    Redirection: by John Godley – 5.1.3
    Scripts-To-Footer: by Joshua David Nelson – 0.6.4.1
    Advanced Shipment Tracking for WooCommerce: by zorem – 3.2.9
    Woo EDD Email Domain Blacklist: by Md. Kowsar Hossain – 2.0.0
    Friendly User Agent for WooCommerce: by Blaze Concepts – 1.2.0
    WooCommerce Blocks: by Automattic – 5.7.0
    Woo Payment Discounts: by WPCodelibrary – 1.3.0
    WooCommerce Opayo Payment Suite: by Andrew Benbow – 5.4.0
    WooCommerce Google Analytics Pro: by SkyVerge – 1.10.0
    Advanced Order Export For WooCommerce (Pro): by AlgolPlus – 3.1.9
    WooCommerce Order Status Manager: by SkyVerge – 1.13.2
    WooCommerce Xero Integration: by WooCommerce – 1.7.38
    WooCommerce: by Automattic – 5.6.0
    Wordfence Security: by Wordfence – 7.5.5
    WP Activity Log for WooCommerce: by WP White Security – 1.2.2
    WP Crontrol: by John Blackbourn & contributors – 1.10.0
    WP-Lister Pro for Amazon: by WP Lab – 1.9.7
    WP Mail Logging: by Wysija – 1.9.8
    WP Activity Log: by WP White Security – 4.3.2
    WP Super Cache: by Automattic – 1.7.4
    Loginizer: by Softaculous – 1.6.7
    
    ### Inactive Plugins (0) ###
    
    ### Dropin Plugins (1) ###
    
    advanced-cache.php: advanced-cache.php
    
    ### Settings ###
    
    API Enabled: ?
    Force SSL: ?
    Currency: GBP (£)
    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: ?
    
    ### WC Pages ###
    
    Shop base: #7 - /shop/
    Basket: #8 - /cart/
    Checkout: #9 - /checkout/
    My account: #10 - /my-account/
    Terms and conditions: #19708 - /terms-conditions/
    
    ### Theme ###
    
    Name: Storefront
    Version: 3.8.1
    Author URL: https://woocommerce.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: –
    
    ### Action Scheduler ###
    
    Canceled: 1,432
    Oldest: 2021-07-27 13:57:37 +0100
    Newest: 2021-08-25 00:13:20 +0100
    
    Complete: 8,536
    Oldest: 2021-08-20 16:13:40 +0100
    Newest: 2021-08-25 00:13:50 +0100
    
    Failed: 11
    Oldest: 2021-05-20 12:12:21 +0100
    Newest: 2021-05-20 12:12:21 +0100
    
    Pending: 3
    Oldest: 2021-08-25 00:23:47 +0100
    Newest: 2021-08-25 14:15:11 +0100
    
    ### sagepay ###
    
    MCrypt: ? No
    OpenSSL: ? Yes
    OpenSSL Methods: ? Yes
    PHP Max_Input_Vars: ? Your php_max_inpt_vars value is 1000. If you experience any issues during checkout then increase this value to 5000.
    SagePay Form Enabled?: ?
    Opayo Direct Enabled?: ?
    Opayo Direct using Protocol 4.00?: ?
    Opayo Server Enabled?: ?
    Opayo Pi Enabled?: ?
    Simple XML Available?: ?
    Opayo Reporting (Test): ?
    Opayo Reporting (Live): ?
    
    ### Status report information ###
    
    Generated at: 2021-08-25 00:22:50 +01:00
    
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Zorem

    (@zorem)

    Hi @kosmicare,

    We can’t replicate this issue on our end and this error is not related to our plugin.

    Thanks,

    Thread Starter kosmicare

    (@kosmicare)

    Thank you for the quick response. I don’t suppose you have any hints as to where I might look for the actual cause? Maybe there is something in that information that suggests it…?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Critical uncaught exception after update’ is closed to new replies.