Conflict with S2Member – SyntaxError: JSON.parse: unexpected character – UserPro Forums https://forum.userproplugin.com/forums/topic/conflict-with-s2member-syntaxerror-json-parse-unexpected-character/feed/ Wed, 15 May 2024 11:06:57 +0000 https://bbpress.org/?v=2.6.2 en-US https://forum.userproplugin.com/forums/topic/conflict-with-s2member-syntaxerror-json-parse-unexpected-character/#post-29982 <![CDATA[Conflict with S2Member – SyntaxError: JSON.parse: unexpected character]]> https://forum.userproplugin.com/forums/topic/conflict-with-s2member-syntaxerror-json-parse-unexpected-character/#post-29982 Thu, 27 Mar 2014 00:57:37 +0000 Emanuele Venditti Hi there,

I’ve just purchased your amazing plugin, but I’m having a problem, similar to the one described here:
http://userproplugin.com/userpro/forums/topic/syntax-error-unexpected-token-when-using-with-s2member-plugin/

only, the error code I get is SyntaxError: JSON.parse: unexpected character

I deactivated all plugins and reactivated one by one and discovered that it’s a conflict with S2Member.This makes sense, as both plugins try to control user registration, but I made sure my settings for both match (user fields collected, assigned role upon registration etc).

In the post I indicated, you sent a version of your plugin that would avoid the conflict? Could I have that too?

Will send you purchase code details in a private message, ok?
Cheers
Emanuele

]]>
https://forum.userproplugin.com/forums/topic/conflict-with-s2member-syntaxerror-json-parse-unexpected-character/#post-29983 <![CDATA[Reply To: Conflict with S2Member – SyntaxError: JSON.parse: unexpected character]]> https://forum.userproplugin.com/forums/topic/conflict-with-s2member-syntaxerror-json-parse-unexpected-character/#post-29983 Thu, 27 Mar 2014 00:58:35 +0000 Emanuele Venditti https://forum.userproplugin.com/forums/topic/conflict-with-s2member-syntaxerror-json-parse-unexpected-character/#post-30664 <![CDATA[Reply To: Conflict with S2Member – SyntaxError: JSON.parse: unexpected character]]> https://forum.userproplugin.com/forums/topic/conflict-with-s2member-syntaxerror-json-parse-unexpected-character/#post-30664 Thu, 03 Apr 2014 10:19:29 +0000 admin Which version of UserPro do you have? This issue was fixed versions ago! 🙂 Can I ask where do you get this error, at which process, login, or register, etc?

]]>
https://forum.userproplugin.com/forums/topic/conflict-with-s2member-syntaxerror-json-parse-unexpected-character/#post-30723 <![CDATA[Reply To: Conflict with S2Member – SyntaxError: JSON.parse: unexpected character]]> https://forum.userproplugin.com/forums/topic/conflict-with-s2member-syntaxerror-json-parse-unexpected-character/#post-30723 Thu, 03 Apr 2014 11:03:55 +0000 Emanuele Venditti Hi!

I had 1.80 but have just upgraded to the latest version.
Still having the same problem though.

I get it at registration. I am registering with a form that collects name and email only.
I enter the details and press register, after a while I get the “SyntaxError: JSON.parse: unexpected character” error, so nothing happens. No pages loads, everything stays there, on the registration form.
In reality though the user account was created and the user is actually logged in…

]]>
https://forum.userproplugin.com/forums/topic/conflict-with-s2member-syntaxerror-json-parse-unexpected-character/#post-30725 <![CDATA[Reply To: Conflict with S2Member – SyntaxError: JSON.parse: unexpected character]]> https://forum.userproplugin.com/forums/topic/conflict-with-s2member-syntaxerror-json-parse-unexpected-character/#post-30725 Thu, 03 Apr 2014 11:14:51 +0000 admin Does it work when you disable s2member?

]]>
https://forum.userproplugin.com/forums/topic/conflict-with-s2member-syntaxerror-json-parse-unexpected-character/#post-30727 <![CDATA[Reply To: Conflict with S2Member – SyntaxError: JSON.parse: unexpected character]]> https://forum.userproplugin.com/forums/topic/conflict-with-s2member-syntaxerror-json-parse-unexpected-character/#post-30727 Thu, 03 Apr 2014 11:15:29 +0000 admin Please test it when s2member disabled.

]]>
https://forum.userproplugin.com/forums/topic/conflict-with-s2member-syntaxerror-json-parse-unexpected-character/#post-30729 <![CDATA[Reply To: Conflict with S2Member – SyntaxError: JSON.parse: unexpected character]]> https://forum.userproplugin.com/forums/topic/conflict-with-s2member-syntaxerror-json-parse-unexpected-character/#post-30729 Thu, 03 Apr 2014 11:18:05 +0000 Emanuele Venditti It does work. But I need to use both S2Member and UserPro!

I tried all possible combinations of settings that I could think of, making sure that S2member requirements for registration were met (collect both name and last name, register at the Subscriber level, etc), but nothing works. That error always comes up… 🙁

]]>
https://forum.userproplugin.com/forums/topic/conflict-with-s2member-syntaxerror-json-parse-unexpected-character/#post-30824 <![CDATA[Reply To: Conflict with S2Member – SyntaxError: JSON.parse: unexpected character]]> https://forum.userproplugin.com/forums/topic/conflict-with-s2member-syntaxerror-json-parse-unexpected-character/#post-30824 Fri, 04 Apr 2014 10:31:40 +0000 admin Does it come in login? or only during registration?

]]>
https://forum.userproplugin.com/forums/topic/conflict-with-s2member-syntaxerror-json-parse-unexpected-character/#post-30897 <![CDATA[Reply To: Conflict with S2Member – SyntaxError: JSON.parse: unexpected character]]> https://forum.userproplugin.com/forums/topic/conflict-with-s2member-syntaxerror-json-parse-unexpected-character/#post-30897 Fri, 04 Apr 2014 11:43:48 +0000 Emanuele Venditti only on registration…

]]>
https://forum.userproplugin.com/forums/topic/conflict-with-s2member-syntaxerror-json-parse-unexpected-character/#post-31622 <![CDATA[Reply To: Conflict with S2Member – SyntaxError: JSON.parse: unexpected character]]> https://forum.userproplugin.com/forums/topic/conflict-with-s2member-syntaxerror-json-parse-unexpected-character/#post-31622 Wed, 09 Apr 2014 23:11:34 +0000 Emanuele Venditti Hi Ahmed,

any updates on this? I’m still unable to use the plugin.

I did think of something though, in the meantime.The reason why the fixes you included in the recent version of userPro do not seem to work for me, is most likely because I am using a white label version of S2Member (OptimizeMember, which is a plugin that comes with OptmizePress). The two plugins (S2Member and OptimizeMember are pretty much identical, but they did change some of the code (mainly so that any instance of “s2” is now “omp”).

This means that, if you could send me the actual code that was inserted in the UserPro update that dealt with this annoying S2Member issue, I might be able to resolve it once and for all!

That would be awesome!

thank you

]]>