Prestashop Technical Error: Details: Error Thrown: [Object Object] Text Status: Parsererror - prestashop

I am getting this error when trying to add weight ranges to shipping carriers that I have. It mostly seems to happen at random and I have been able to complete some of the carriers but others will cause the error every time. The console reports the following: Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
Is there a solution for this? I couldn't find anything online about it.
I have v. 1.6.1.4
Thank you!

You have to use firefox developper and when you get the "Parseerror"
using the developper tools you go to network and select your last query.
On the right you have a window with all the options of the query : cookies parameters... select response.
You should see the response of the parse error.
For me it was just a parameter of the form that could not be empty.
Putting a random word made everything work fine.

The same thing happened to me when adding weight ranges.
The annoying thing is i had to restore a backup of the tables ps_range_weight and ps_carrier.. as for every single instance of
"Prestashop Technical Error: Details: Error Thrown: [Object Object] Text Status: Parsererror" it made a new entry and i ended up with over 700 weight ranges.
Anyways, i restored to the last fucntioning versions of ps_range_weight and ps_carrier (needed doing) and disabled the standard paypal plugin from prestashop. After that it worked fine.
.
Hope this helps someone.

I have found a solution for this on Prestashop 1.7
This happened to me as well when I changed the theme, however, I checked the Database and found that the carrier ID in ps_range_weight has randomly changed!
Solution
Fix the carrier ID in the database to the correct one and this error should not be appearing again! Good luck
ps_range_weight

Related

Remove facebook pixel error "Invalid Match Key Parameters for ViewContent Event"

My developer has integrated facebook pixel on my shopify site. But after 3 days it is showing me this error in diagnostic window. I am trying to resolve this at my end.
You’re sending the same event ID for many instances of your ViewContent events. Event IDs are unique identifiers that are used to deduplicate identical events received from your pixel and the Conversions API so they’re not counted twice. To ensure that Facebook is accurately counting your events, each unique event instance needs its own unique event ID.
This may cause issues with the measurement of your events and the attribution of your ad campaigns.
So to remove this I simple enabled "external_id" parametre from "Automatic Advanced matching" option but I am not quite sure that I did right thing or not as I am new in integrating this. After solving this, I am seeing this error now as mentioned in screenshot
Is there something in code, that I need to change to resolve this issue.
Note: Setup is made through a partner integration.
Please help me to resolve these errors. If you need more info, please let me know.
Any help will be appreciated!
Thanks!
I tried both the option
Switching OFF "Automatic advanced matching"
Switching ON "Automatic advanced matching" -> Show options (External ID --> ON)
Finally I observed we have to go with option 1. Still the issue will come single time for each conversion event. After first time we encounter the error we have to move it to ignore list. For each event we will get error we have to do similar trick. Once all event encountered such error and all ignored problem might be solved.
So far I have done for 4 events which I got error. After that I have not got the error for those 4 events. Waiting for my other 2 events error.
But not sure the problem is solved permanently but not seeing any problem for those 4 events for 48 hours. But definitely shopify and facebook together need to solve. But both passing ball to one another.

How to get previous error message after I fixed error

Ok this sounds pretty dumb.
We use apache/tomcat # my company for our products.
I was fixing an internal server error and pressed refresh on chrome. It worked but now trying to make an internal article for my team and forgot what the second part of the error message said.
Is there anyway to see that previous page on Chrome.

Can't upload new product image backend prestashop

I need a little help here, i hope someone here can help me for a hint or clue.
First of all, I'm not programmer. I'm just web admin who can use cms and basic html.
I was using PrestaShop for my online shop. In the backend, I can't upload new product image anymore.
The error just blank without any sign for me. Here for the screenshot:
I appreciate it, if someone can help me, thanks, and sorry for my english.
#PanjiWiyono This errors don't really give us a quality information, but this is a start. In your JS code should be a ajax query that has an error when converting results to json (first error). You should check what's the exact error that this request is returning by inspecting in browser developer console.
If you detect that the second error is in fact, the response of this ajax query, well now we almost have the problem.
The second error should be related to data size. Check this: Error while sending QUERY packet
Anyway, you should check DbPDO.php class. You can use debug_backtrace function to display the complete stack, but definitly if error is related to a basic PHP class issue you will have not help knowing wich classes are in calling stack.
Good luck.
Simple solution
maybe a extra module is in a conflict with the prestashop core files. go to advanced parameters, performance and disable third party modules and try again.
other option is reupload admin folder with other name and
js folder check again
hope it will work for you

System error. The error has been logged and we will investigate

I started getting this result from BigQuery around 5pm PST. I haven't changed anything in my app. I can still make queries via the online browser tool. Is this happening to anyone else? Our project ID is decent-surf-855.
We changed the wording of the error message from the old "Unexpected. Please try again." Perhaps you already had code to detect or filter based on that error text?

encounter error when adding a new tab in the back office, prestashop

I don't know if there are many people working with Prestashop here....anyway, i am facing a problem and i cant find an answer.
I am trying to add a new tab to the back end, but all the get is this message:
An error occurred while creating object.Tab()
I also tried to add a new tab on a fresh installed prestashop, also encountered this problem. the version that i am using is 1.4.5.1.
I also tried to find a solution and i found a ticket describing this problem, but still no result.
Hey guys this is actually a 1.4.5.1 version's bug, i upgrade to 1.4.6.2 everything just works fine.
No idea if this is helpful, but check this if it helps you in some sense, its something about database tables:
http://forge.prestashop.com/browse/PSCFI-4171?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel#issue-tabs