• Resolved markhenderson81

    (@markhenderson81)


    Hi, I’m trying to create a registration form for my website and users are getting the error message: Unexpected token < in JSON at position 2. Even when the registration is succesful. I am debugging this by using network tab and viewing server response from admin-ajax.php. Any ideas why I am getting this error message?
    I have the form set to redirect upon successful registration but this error is stopping that from happening.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi @markhenderson81,

    There was some conflict with other plugins. Some of script and style code’s are being attached to the ajax request. Although, users are registered successfully. Ajax request was unable to get a success response due to extra code attached to it. Please try deactivation other plugin’s one by one and try registering.

    Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘Unexpected token < in JSON at position 2’ is closed to new replies.