Page 1 of 1

SyntaxError: Unexpected end of JSON input

Posted: Fri Jul 10, 2020 6:18 pm
by Karolis97
Hello,

I need help:

When I try to change order status, I'm getting error code:
SyntaxError: Unexpected end of JSON input

Anyone has any ideas?

Re: SyntaxError: Unexpected end of JSON input

Posted: Fri Jul 10, 2020 6:37 pm
by sw!tch
Use chrome inspector to check the error. Also check your error logs.

Re: SyntaxError: Unexpected end of JSON input

Posted: Fri Jul 10, 2020 6:55 pm
by Karolis97
I'm getting JSON as Content-Type: html/txt.

Also, there are no errors in console and logs.

Re: SyntaxError: Unexpected end of JSON input

Posted: Fri Jul 10, 2020 8:57 pm
by letxobnav
that is because the error is probably a php error, check your network tab to see which controller/url produces it.

Re: SyntaxError: Unexpected end of JSON input

Posted: Fri Jul 10, 2020 9:05 pm
by JNeuhoff
Karolis97 wrote:
Fri Jul 10, 2020 6:18 pm
Hello,

I need help:

When I try to change order status, I'm getting error code:
SyntaxError: Unexpected end of JSON input

Anyone has any ideas?
Since it's working fine for others, it's probably not a bug.

Without further details, no one can help you. What Opencart version? What extensions? What's in Opencart's or Apache server error logs?