vsn Posted May 8, 2019 Posted May 8, 2019 TB 1.0.8 & PandaTheme 1.4.6. If trying to change the order (for example to change a quantity of a product) on the order / card overview, I got TECHNICAL ERROR: unable to save update quantity Details: Error thrown: [object Object] Text status: parsererror Can somebody reproduce? Any hint how to analyze?
0 Traumflug Posted May 9, 2019 Posted May 9, 2019 If you'd give us a list of the steps required to reproduce this, we could try. As if one would try to explain it to a child: - Click here - Enter this value in that field - Click there - ...
0 vsn Posted May 10, 2019 Author Posted May 10, 2019 yes, for sure: 1. put some products into your cart 2. go to the first check-out step (Shopping-cart summary) -> you can see your card with products, quantities and prices 3. now try to change quantity of any product (change it manually or just press + or - button) -> you will get parsererror message
0 datakick Posted May 15, 2019 Posted May 15, 2019 This type of errors occurs when ajax response contains something else then valid json. It's usually caused by error reporting emitting warnings/notices into response. I bet you have debug mode enabled. If so, then disable it, and try again. Alternatively you can forward your store to bleeding edge using core updater.
0 musicmaster Posted May 16, 2019 Posted May 16, 2019 On 5/10/2019 at 5:43 PM, vsn said: There are two ways to solve this kind of message. As Datakick said, this happens when an Ajax call returns something unexpected. Very often that is because there was some php error message or warning within the text. If it was some innocent warning the solution that Datakick proposes - switching off debug mode - will work. If you want to find out what the error message was there are two approaches. One is to check the error logs of your server. The other is to open the console of your browser and then go to the network tab. If you execute the operation while this tab is open you will see the ajax call appear as one of the files. You can then look under the reply subtab what value was returned by the ajax call.
0 vsn Posted May 17, 2019 Author Posted May 17, 2019 You both are right, turning it off solvers the issue. Looking under response sent by ajax call I found "JSMin: Unterminated String at byte 708: 'd code on line 65". How critical is it? Should somebody fix it?
0 musicmaster Posted May 18, 2019 Posted May 18, 2019 (edited) 11 hours ago, vsn said: You both are right, turning it off solvers the issue. Looking under response sent by ajax call I found "JSMin: Unterminated String at byte 708: 'd code on line 65". How critical is it? Should somebody fix it? You missed the core of what I wrote. The Ajax call returns some text in some predetermined format (not always json). When there is a warning in that returned text the format no longer matches and you get the kind of message that you see. However, this is half of the php warning - so completely useless. You need to have a look at the complete returned text or your error logs to see the complete message: problem x happened at line y in file z. I told you how to do that. Edited May 18, 2019 by musicmaster
0 vsn Posted May 19, 2019 Author Posted May 19, 2019 Thanks for explanation! I have contacted the Panda theme developer, he fixed it. The fix will be included in the next theme release.
Question
vsn
TB 1.0.8 & PandaTheme 1.4.6. If trying to change the order (for example to change a quantity of a product) on the order / card overview, I got
TECHNICAL ERROR: unable to save update quantity Details: Error thrown: [object Object] Text status: parsererror
Can somebody reproduce? Any hint how to analyze?
9 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now