When I click on "Products" at the backend, the website freezes and I am not able to click for about 10 seconds on anything and after that the Filter Wheel keeps spinning.
I am not sure if this is related to topic
http://forum.virtuemart.net/index.php?topic=143514.0
Joomla! 3.9.11
VirtueMart 3.6.0 10113
something is failing your product categories ajax call .. check the console/ browser debug to see the response to the
/index.php?option=com_virtuemart&view=product&type=getCategoriesTree&virtuemart_product_id=xxx&format=json&lang=xx
It shows
Quote- Unexpected control character found{
and then the list of categories with values.
hmmm... some strangely named cat? with comma or quote for example?
No. Just characters (ABC).
It started doing this after I recently updated VM.
I disabled everything under Extension-Manage except these two
VirtueMart
VirtueMart Administrator Menu
and this error still pops up.
If you have PHP error display On, then if you have any error the json is not well formated.
Disable PHP debug(in joomla and in your server) and try if it work.
It's off. I never turn them on.
Check in the javascript console and/ or json response
I do not know how to do this.
On google chrome F12 and the network>XHR tab display all ajax response.
YOu have first to open the console and refresh the page after, to be sure to see the response
But - Unexpected control character found{ is strange for a json, because json use this for the response !
If you have anything outside the curly brackets, then you get en error and categories cannot be loaded.
Thank you. The XHR tab does not show anything except that it loaded probably. How else can I find what causes this error?
I tested it with the Beez3 - Default template with nothing in it and I get the same error when I click on the + on the VM - Search in Shop. So, it has to do something with VM since it occurred after the latest VM update.
Check your search module, do you have some custom text perhaps?
Jörgen @ Kreativ Fotografi
No custom text and I disabled already all modules except VirtueMart and VirtueMart Administrator Menu and this error still pops up. It must be something inside VM I guess. Max just messaged me that 3.6.2 has been released. I will test it with that.
Updated to 3.6.2 10159 and it is working again.
great. even if we do not really know the reason for that.
Yes, but someone must have it fixed without knowing. :D