Tips

SyntaxError: Unexpected token < in JSON at position 0" WordPress Error-SOLVED

1
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
Either balance in cash/credit ledger is not sufficient to set-off the liability or the-GST error

I have WordPress+Woocommerce store setup for my website www.wayanad.net
Woocommerce signup and Checkout was working fine until I installed W3 Total cache plugin. But after installing that plugin, I noticed that the checkout was not successful using the Payumoney payment gateway. The error shown was SyntaxError: Unexpected token < in JSON at position 0..

I thought the error was caused by W3 Total cache. But actually it wasn't. I remembered that I have disabled the option "Anyone can register" in the Settings-> General area.
I tried to make a test purchase by only enabling the Woocommerce checkout option and disabling the "Anyone can register" option. That was the culprit.
As soon as I checked Anyone can register option and making the role for new users as Customers, the error message at checkout vanished and signups were processed normally.
So if you face the same error "SyntaxError: Unexpected token < in JSON at position 0" in your woocommerce store while signing up as a new user, please check whether you have enabled 'Anyone can register' option in Settings->General area in Admin panel.
Its better to make the user role as a customer which syncs nicely with Woocommerce.

Thanks for reading!

Also Visit

We were able to connect to the database server-WordPress error-SOLVED

Moved Wordpress to a new server. Facing Database connection
2017-08-18 17:49:25

18

Your PHP installation appears to be missing the MySQL extension which is required by WordPress-SOLVED

Seeing the Wordpress page throwing error Your PHP
2017-08-16 12:38:43

18

How to increase Max file upload size in WordPress for an Addon domain – SOLVED

Hi all, There are lot of posts explaining how to
2017-01-30 11:45:06

18

Joomla WSOD error-SOLVED

Hi all, I had a big headache as my site wayanad.co.in
2014-10-30 23:04:22

18

Either balance in cash/credit ledger is not sufficient to set-off the liability or the-GST error

Just now I filed GSTR-3B for the month of August 2017. As a
2017-09-20 23:22:05

8

How to get Softaculous premium for 3 months FREE?

Own a VPS? Need softaculous premium? Normally softaculous
2017-08-16 12:44:49

8

Opencart syntax error JSON.parse unexpected end of data at line 1 column 1 of the JSON data-[SOLVED]

Hi all, After upgrading Shop.wayanad.co.in from Opencart
2015-11-30 19:35:07

8

Like?

1
Leave a Reply

avatar
1 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
1 Comment authors
test Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
test
Guest
test

Not resolved issue for me this..

Post count

Like Us