test123a
Forum Replies Created
-
Hi,
Thanks again for your continued help. I haven’t been able to reproduce the issue. Whenever I try with this same product (on mobile and desktop), it works as expected. Yeah, it’s referring to the add-ons like Accent Ring Color and the option for “Add Personalizations (+$30.00) – Please let us know which personalization to include from the options below. We will email a proof for final approval. • Family Name & Established Year • Home Address with Location Marker • Couples Names with Wedding or Anniversary Date • Two Line Gift Message Engraved on Back“
But I wanted to share some updates from our investigation that I think will help narrow this down.After digging deeper into our server logs, we’ve identified two additional plugins that appear to be directly involved:
- Klaviyo (wck-cart-rebuild.php)
This error has been appearing quite a bit:
PHP Warning: Undefined array key “data” in /wp-content/plugins/klaviyo/includes/wck-cart-rebuild.php on line 94
PHP Fatal error: Uncaught Error: Call to a member function get_parent_id() on null in /wp-content/plugins/klaviyo/includes/wck-cart-rebuild.php:95Klaviyo’s cart rebuild feature appears to be attempting to reconstruct abandoned cart sessions containing null or invalid product objects, which may be directly causing the empty cart issue customers are reporting? We’ve raised a support ticket with Klaviyo and waiting for their reply.
- Advanced Product Fields Pro by StudioWombat (v1.8.3)
This error appeared on April 26:
PHP Fatal error: Uncaught Error: Call to a member function get_id() on bool in /wp-content/plugins/advanced-product-fields-for-woocommerce-pro/includes/classes/class-field-groups.php:570
This plugin handles our product personalizations and add-on pricing. Customers have reported that personalizations and price adjustments are not being reflected at checkout. We have raised a support ticket with StudioWombat, waiting for their reply.
The class-wc-cart-totals.php fatal error continues to appear in our logs alongside both of the above. Could you advise on whether either of these plugins could be responsible for the null product object being passed to WooCommerce’s cart totals calculation? Any insight into how WooCommerce handles cart data when a plugin passes invalid objects would also be really helpful.
Thank you!
Thanks for the detailed response. A few updates since my last message:
The cart issue does appear to have stabilized somewhat – the customer who originally reported it was able to successfully place their order, and we’ve had several other orders come through without issue.
However, we’ve just received a new report from a customer that points to the product add-ons specifically. They were trying to order a product (https://seaandsoulcharts.com/product/24-tampa-bay-nautical-map-clock/) with personalizations and a wood color upgrade, but when going to checkout those add-ons were not being reflected in the price. This happened twice for the same customer.
Please help! Thank you!
Thanks for the reply! Several customers are reporting that “I am trying to order XYZ product. Every time I add it to the cart it shows as added but when I click on view my cart or check out it completely disappears and says my cart is empty. I have tried several times with no success.“
I’ve tried to reproduce this many times on my end, but I’m not able to. But each time when I try to test this, but adding a product to the cart, and then check the server logs we see “[error] 74501#74501: *120941 FastCGI sent in stderr: “PHP message: PHP Warning: Undefined array key “data” in /www/httpsREPLACEDWEBSITENAMEcom_140/public/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php on line 229; PHP message: PHP Fatal error: Uncaught Error: Call to a member function get_tax_class() on null in /www/httpsREPLACEDWEBSITENAMEcom_140/public/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php:229″
System status report is here: https://pastebin.com/K7PMfm11
Thank you!
Thanks for the reply here! When I try to add a Visual Portfolio block it throws the below error:
The editor has encountered an unexpected error.
Attempt Recovery Copy Post Text Copy Error
Error: Failed to execute ‘removeChild’ on ‘Node’: The node to be removed is not a child of this node.
at gr (https://www.homespunstaginganddesign.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:69367)
at Br (https://www.homespunstaginganddesign.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:80574)
at unstable_runWithPriority (https://www.homespunstaginganddesign.com/wp-includes/js/dist/vendor/react.min.js?ver=17.0.1:9:7431)
at xn (https://www.homespunstaginganddesign.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:29950)
at Ar (https://www.homespunstaginganddesign.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:78535)
at Pr (https://www.homespunstaginganddesign.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:74654)
at https://www.homespunstaginganddesign.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:30173
at unstable_runWithPriority (https://www.homespunstaginganddesign.com/wp-includes/js/dist/vendor/react.min.js?ver=17.0.1:9:7431)
at xn (https://www.homespunstaginganddesign.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:29950)
at Nn (https://www.homespunstaginganddesign.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:30118) - Klaviyo (wck-cart-rebuild.php)