Checkout Placing Order: The network connection was lost.
-
We are getting timeouts on WooCommerce checkout or empty response. Latest error log shows
[20-Feb-2023 01:07:51 UTC] wc_get_product was called incorrectly. wc_get_product moet niet worden opgeroepen voordat de acties woocommerce_init, woocommerce_after_register_taxonomy en woocommerce_after_register_post_type zijn voltooid. Backtrace: 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, WooCommerce->init, wc_load_cart, WooCommerce->initialize_cart, WC_Customer->__construct, WC_Data_Store->read, WC_Customer_Data_Store->read, WC_Data->read_meta_data, WC_Data->init_meta_data, maybe_unserialize, unserialize, WC_Data->__wakeup, WC_Product_Variation->__construct, WC_Product_Simple->__construct, WC_Product->__construct, WC_Data_Store->read, WC_Product_Variation_Data_Store_CPT->read, WC_Product_Variation_Data_Store_CPT->generate_attribute_summary, wc_get_formatted_variation, wc_attribute_label, wc_get_product, wc_doing_it_wrong. This message was added in version 3.9. [20-Feb-2023 01:07:52 UTC] PHP Deprecated: Return type of Requests_Cookie_Jar::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wp-includes/Requests/Cookie/Jar.php on line 63
Console log shows
Failed to load resource: The network connection was lost.
for url
https://site.nl/?wc-ajax=checkout&elementor_page_id=782
I turned off most plugins except for needed Fancy Product Designer , Elementor Pro and WooCommerce
### Active Plugins (8) ### The SEO Framework: door The SEO Framework Team – 4.2.7.1 Elementor Pro: door Elementor.com – 3.11.1 Elementor: door Elementor.com – 3.11.1 Fancy Product Designer PRO Export: door fancyproductdesigner.com – 1.3.1 Fancy Product Designer: door fancyproductdesigner.com – 4.7.9 Loco Translate: door Tim Whitlock – 2.6.3 WooCommerce: door Automattic – 7.4.0 WPForms Lite: door WPForms – 1.8.0.1
and still seeing this error. Opened a ticket with Fancy Product Designer as well but trying to debug here myself. Url on XHR request showing Elementor page ID in url is also odd.
Last test this morning got the failed to load resource error, but order was received and email sent to admin. Very odd.
Second test we got
Your Session is Expired
We only have payment on delivery and we were wonderring if upsell code of Fancy Product Designer was causing issues.. but so still testing
If anyone has any ideas how to debug this further let me know.
- This topic was modified 2 years ago by .
- This topic was modified 2 years ago by .
- This topic was modified 2 years ago by .
The page I need help with: [log in to see the link]
- The topic ‘Checkout Placing Order: The network connection was lost.’ is closed to new replies.