Fatal Error while trying to remove items from cart #1057
Replies: 6 comments 7 replies
-
|
Reference to the line mentioned in the stack trace: bootscore/woocommerce/inc/ajax-cart.php Line 184 in a0950be |
Beta Was this translation helpful? Give feedback.
-
|
@crftwrk , godaddy makes some fun stuff there. Actually i changed the function to remove items from the cart to qty. update to 0 because then we wouldn't need to handle the ajax cart stuff of woocommerce completeley on our own. Under the hood, woocommerce just removes the item if it is set to 0. It seems that godaddy, doesn't like that behaviour and just doesn't check if the qty is 0 before running their code. I thought of removing the "Standard" implementation of woocommerce for loading the ajax cart stuff before. and readd the really necessary stuff on our own, but hadn't had time to figure that out. I mean our approach is not the best, but godaddy not checking for 0 qty isnt either :D |
Beta Was this translation helpful? Give feedback.
-
|
I can put in a request for them to add the check but it may not happen at all or at least not for a while. I know they have replaced some standard WooCommerce files with their own implementation. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
@antmama The latest Commit should fix that issue. Please let us know if you can activate the analyctics again |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I noticed this fatal error started 3 days ago and I was just able to reproduce it. If you attempt to remove the item from the shopping cart by clicking on the X, it does nothing.
Here is a video showing what happens
cannot-delete-cart.mp4
Please repro from my staging site: https://6b5.042.myftpupload.com/
The Log that gets generated after clicking on the X:
Beta Was this translation helpful? Give feedback.
All reactions