Page 1 of 1

Syntax error: unexpected token < in JSON at position 0

Posted: Fri May 20, 2016 7:11 pm
by ialexandru
I have a problem with user registration and delivery method and payment method.
I've installed a fresh copy of opencart 2.1.0.2 and still have the same problem.
If I input something in the fields (non required ones) there is no error, but if not, I get the errors in the picture.

I've searched the forum for this error, but I found only that I have to modify the customer.php; shipping_method.php and remove the fields that gave the errors.
I did that so the user can register, but now the fields in the database are not recorded, they are empty.

Can you help me resolve this issue?

Re: Syntax error: unexpected token < in JSON at position 0

Posted: Sat May 21, 2016 2:43 am
by straightlight

Re: Syntax error: unexpected token < in JSON at position 0

Posted: Tue May 24, 2016 3:30 pm
by ialexandru
Thank You, you saved me. I've searched a lot of posts, but it seems I was blind :)

Re: Syntax error: unexpected token < in JSON at position 0

Posted: Sat Nov 03, 2018 3:07 pm
by budihartantom
Hello, a have a problem like this, any help