Critical Error at Checkout with v8.4.0
-
I noticed an issue where my checkout page hangs when the user hasn’t filled out their shipping information. This has been happening since I updated to Woocommerce 8.4.0 (on January 01/24 local time).
Since the update, a user on my site cannot pick United States as a shipping location as I just get a spinning wheel. I fill in all required information but the page just hangs. For Canadian residents, the page used to load (before Woocommerce update) even if there is no user info filled out (ie Name, address, postal code, etc.)
***************************
If I need to, is it relatively easy to go back a version of Woocommerce? However, I updated from Woocommerce v8.3.0 to v8.4.0 as I wanted to wait a bit before I upgraded to the most recent version. I do know that v8.3.0 was working on my site. So… perhaps I could downgrade to v8.3.0 and then upgrade to each version after that, with testing in between to see when I get the fatal error I reported. Thoughts?
***************************Here is the reported error in the error log file:
#0 [internal function]: Automattic\WooCommerce\Utilities\ArrayUtil::Automattic\WooCommerce\Utilities\{closure}(Object(stdClass)) #1 /home4/kissmyle/public_html/wp-content/plugins/woocommerce/src/Utilities/ArrayUtil.php(188): array_map(Object(Closure), Array) #2 /home4/kissmyle/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/Shipping/ShippingController.php(445): Automattic\WooCommerce\Utilities\ArrayUtil::select(Array, ‘get_method_id’, 1) #3 [internal function]: Automattic\WooCommerce\Blocks\Shipping\ShippingController->Automattic\WooCommerce\Blocks\Shipping\{closure}(Array) #4 /home4/kissmyle/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/Shipping/ShippingController.php(447): array_filter(Array, Object(Closure)) #5 /home4/kissmyle/public_html/wp-includes/class-wp-hook.php(324): Automa in /home4/kissmyle/public_html/wp-content/plugins/woocommerce/src/Utilities/ArrayUtil.php on line 153 [06-Jan-2024 18:04:15 UTC] PHP Fatal error: Uncaught Error: Call to undefined method stdClass::get_method_id() in /home4/kissmyle/public_html/wp-content/plugins/woocommerce/src/Utilities/ArrayUtil.php:153
Here is the Status Report:
WordPress Environment WordPress address (URL): https://kissmylegs.ca Site address (URL): https://kissmylegs.ca WC Version: 8.4.0 REST API Version: ? 8.4.0 WC Blocks Version: ? 11.6.2 Action Scheduler Version: ? 3.7.0 Log Directory Writable: ? WP Version: 6.4.2 WP Multisite: – WP Memory Limit: 2 GB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – Server Environment Server Info: Apache PHP Version: 7.4.33 PHP Post Max Size: 2 GB PHP Time Limit: 3000 PHP Max Input Vars: 10000 cURL Version: 8.5.0 OpenSSL/1.1.1w SUHOSIN Installed: – MySQL Version: 5.7.23-23 Max Upload Size: 2 GB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? Database WC Database Version: 8.4.0 WC Database Prefix: wp_ Total Database Size: 256.22MB Database Data Size: 212.17MB Database Index Size: 44.05MB wp_woocommerce_sessions: Data: 9.37MB + Index: 0.25MB + Engine MyISAM wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_order_items: Data: 1.78MB + Index: 0.86MB + Engine MyISAM wp_woocommerce_order_itemmeta: Data: 15.59MB + Index: 8.63MB + 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: 2.06MB + Index: 1.41MB + Engine InnoDB wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_logs: Data: 1.48MB + Index: 0.64MB + Engine InnoDB wp_admin_columns: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_cm_popfly_history: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_commentmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_comments: Data: 3.65MB + Index: 1.29MB + Engine MyISAM wp_failed_jobs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_gglcptch_allowlist: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_groups_capability: Data: 0.00MB + Index: 0.02MB + Engine MyISAM wp_groups_group: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_groups_group_capability: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_groups_user_capability: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_groups_user_group: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_huge_itslider_images: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_huge_itslider_params: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_huge_itslider_sliders: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mailchimp_carts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_omnisend_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_options: Data: 10.93MB + Index: 1.22MB + Engine MyISAM wp_pimwick_gift_card: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_pimwick_gift_card_activity: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_postmeta: Data: 86.04MB + Index: 19.24MB + Engine MyISAM wp_posts: Data: 55.90MB + Index: 2.65MB + Engine MyISAM wp_pptrack_codes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_queue: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_redirection_404: Data: 0.09MB + Index: 0.05MB + Engine MyISAM wp_redirection_groups: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_redirection_items: Data: 0.02MB + Index: 0.04MB + Engine MyISAM wp_redirection_logs: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_social_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine MyISAM wp_terms: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wp_term_relationships: Data: 0.49MB + Index: 1.01MB + Engine MyISAM wp_term_taxonomy: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_usermeta: Data: 3.73MB + Index: 1.70MB + Engine MyISAM wp_users: Data: 0.16MB + Index: 0.16MB + Engine MyISAM wp_wcpdf_invoice_number: Data: 0.06MB + Index: 0.03MB + Engine MyISAM wp_wcpdf_packing_slip_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 1.52MB + Index: 0.97MB + Engine InnoDB wp_wc_order_stats: Data: 0.22MB + Index: 0.17MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.13MB + Index: 0.11MB + Engine InnoDB 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: 1.52MB + Index: 1.19MB + Engine InnoDB wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfBlockedIPLog: Data: 0.02MB + Index: 0.01MB + Engine MyISAM wp_wfBlocks7: Data: 0.05MB + Index: 0.05MB + Engine MyISAM wp_wfConfig: Data: 2.87MB + Index: 0.02MB + Engine MyISAM wp_wfCrawlers: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_wfFileChanges: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfFileMods: Data: 5.86MB + Index: 0.69MB + Engine MyISAM wp_wfHits: Data: 2.81MB + Index: 0.77MB + Engine MyISAM wp_wfHoover: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfIssues: Data: 0.02MB + Index: 0.01MB + Engine MyISAM wp_wfKnownFileList: Data: 4.28MB + Index: 0.21MB + Engine MyISAM wp_wfLiveTrafficHuman: Data: 0.03MB + Index: 0.04MB + Engine MyISAM wp_wfLocs: Data: 0.02MB + Index: 0.01MB + Engine MyISAM wp_wfLogins: Data: 0.42MB + Index: 0.08MB + Engine MyISAM 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.01MB + Index: 0.00MB + Engine MyISAM wp_wfPendingIssues: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfReverseCache: Data: 0.22MB + Index: 0.04MB + Engine MyISAM wp_wfSecurityEvents: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfSNIPCache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfStatus: Data: 0.21MB + Index: 0.08MB + Engine MyISAM wp_wfTrafficRates: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_wfWafFailures: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_square_customers: Data: 0.02MB + Index: 0.02MB + Engine MyISAM wp_wotv_woo_track_info: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_ycd_subscribers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_yith_wcwl: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_yith_wcwl_lists: Data: 0.00MB + Index: 0.01MB + Engine MyISAM Post Type Counts attachment: 5996 cm-ad-item: 22 custom_css: 1 nav_menu_item: 137 oembed_cache: 18 options: 1 page: 76 post: 3 product: 1926 product_variation: 1160 revision: 3527 shop_coupon: 168 shop_order: 3890 shop_order_refund: 18 symbol_main_slider: 1 wcbox: 1 wcps: 1 woocarousel: 1 wp_global_styles: 1 ycdcountdown: 3 Security Secure connection (HTTPS): ? Hide errors from visitors: ? Active Plugins (31) Role and Customer Based Pricing for WooCommerce: by Meow Crew – 1.5.2 weLaunch Framework: by weLaunch.io – 1.1.0 FiboSearch - AJAX Search for WooCommerce: by FiboSearch Team – 1.26.1 Canada Post Shipping For WooCommerce: by Small Fish Analytics Inc. – 2.9.13 CM Pop-Up banners for WordPress: by CreativeMindsSolutions – 1.6.2 Admin Columns: by AdminColumns.com – 4.6.1 reCaptcha by BestWebSoft: by BestWebSoft – 1.74 Nav Menu Roles: by Kathy Darling – 2.1.2 PW WooCommerce Gift Cards: by Pimwick LLC – 1.251 Restrict Widgets: by dFactory – 1.3.1 Sezzle WooCommerce Payment: by Sezzle – 5.0.6 Page Builder by SiteOrigin: by SiteOrigin – 2.29.1 SiteOrigin Widgets Bundle: by SiteOrigin – 1.57.0 Tawk.to Live Chat: by Tawkto – 0.8.2 Advanced Editor Tools: by Automattic – 5.9.2 TrustedSite: by TrustedSite – 1.2.0 Under Construction: by WebFactory Ltd – 3.97 WPC Fly Cart for WooCommerce: by WPClever – 5.6.4 Orders Tracking for WooCommerce: by VillaTheme – 1.2.7 Variation Swatches for WooCommerce: by Emran Ahmed – 2.0.29 WooCommerce Extended Coupon Features FREE: by Soft79 – 3.3.3 FOX - Currency Switcher Professional for WooCommerce: by realmag777 – 1.4.1.7 PDF Invoices & Packing Slips for WooCommerce: by WP Overnight – 3.7.5 Woocommerce Products Per Page: by Jeroen Sormani – 1.2.7 WooCommerce Reward Points: by weLaunch – 1.1.20 Role Based Price For WooCommerce: by Varun Sridharan – 3.3.7 WooCommerce Square: by WooCommerce – 4.3.1 (update to version 4.4.0 is available) WooCommerce: by Automattic – 8.4.0 Wordfence Security: by Wordfence – 7.11.1 WP-PageNavi: by Lester 'GaMerZ' Chan – 2.94.1 Google XML Sitemaps Generator: by WPGrim – 1.7.6 Inactive Plugins (2) Classic Editor: by WordPress Contributors – 1.6.3 Redirection: by John Godley – 5.4 Must Use Plugins (2) Endurance Page Cache: by Mike Hansen – 2.2 SSO: by Garth Mortensen Mike Hansen – 0.4 Settings API Enabled: ? Force SSL: ? Currency: CAD (CAD$) 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 Woo.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: #490 - /shop/ Cart: #491 - /cart/ Checkout: #492 - /checkout/ My account: #493 - /my-account/ Terms and conditions: #653 - /terms/ Theme Name: Top Shop Child Version: 1.0.0 Author URL: https://wordpress.com Child Theme: ? Parent Theme Name: TopShop Parent Theme Version: 1.3.14 – 1.3.40 is available Parent Theme Author URL: https://kairaweb.com/ WooCommerce Support: ? Templates Overrides: topshop-child/myaccount/dashboard.php Square Environment: Production Tokenization Enabled: – Debug Mode: Off Admin Enabled Features: activity-panels analytics product-block-editor coupons core-profiler 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 product-variation-management product-virtual-downloadable 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: customize-store minified-js new-product-management-experience product-external-affiliate settings async-product-editor-category-field Daily Cron: ? Next scheduled: 2024-01-06 19:23:36 -07:00 Options: ? Notes: 23 Onboarding: completed Action Scheduler Complete: 3,499 Oldest: 2023-12-06 20:05:49 +0000 Newest: 2024-01-06 17:46:52 +0000 Failed: 146 Oldest: 2020-06-26 20:38:19 +0000 Newest: 2023-07-05 14:15:22 +0000 Pending: 2 Oldest: 2024-01-06 20:27:44 +0000 Newest: 2024-01-07 19:59:33 +0000 Status report information Generated at: 2024-01-06 11:20:30 -07:00
- The topic ‘Critical Error at Checkout with v8.4.0’ is closed to new replies.