Page 1 of 1

Undefined variable: json in sale/order.php on line 2221

Posted: Wed Jan 06, 2016 8:40 am
by tany_argent
Hi
I'm getting this error: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data

OK

<b>Notice</b>: Undefined variable: json in <b>/home/tany/public_html/admin/controller/sale/order.php</b> on line <b>2221</b>

I already search on google every possible solutions, I've already read many solutions in this forum...

Already chaged the Api, changed Api value on data base etc etc etc i tried everything and i cant solv the problem!

The site was working fine, and then when i tried to edit an order, i got the error...

It's drive me crazy!
Best

Re: Undefined variable: json in sale/order.php on line 2221

Posted: Thu Jan 28, 2016 6:19 pm
by Wifialarm
I have the same problem.

It just tell that's "unexpected token < OK"

Image
Image

Can anybody help?

Re: Undefined variable: json in sale/order.php on line 2221

Posted: Sat Feb 04, 2017 1:55 am
by k2tec
I Had the same probleme
It looks like this behavior was being caused by browsers defaulting to the AAAA record for the domain, instead of the A record, and the the account having no IPv6 address assigned to it within WHM/cPanel.
Or delete the AAAA in your DNS setting