Tips and Tricks HQ Support Portal › Forums › WP eMember › Validation error when trying to create an account
- This topic has 16 replies, 4 voices, and was last updated 6 years, 5 months ago by
chadrio.
-
AuthorPosts
-
July 12, 2018 at 3:07 pm #14956
SScott
SpectatorI am trying to set up this site page: staging1.simplyhr.cloud/set-up-account/ to create an account during the purchase process. The username field in the form gives a validating error and never completes.
We are using WordPress version 4.9.7 and eMember version 10.1.1
I did find the article in the forum: https://support.tipsandtricks-hq.com/forums/topic/create-account-username-not-validating#post-58755 and we have worked on the server to correct any issues with Ajax but we are still getting the validating error.
Any thoughts or suggestions for getting this working correctly are appreciated.
Sherry
July 12, 2018 at 5:50 pm #78145wzp
Moderatorhttps://support.tipsandtricks-hq.com/forums/topic/create-account-username-not-validating#post-59452
Have you shown that error to your hosting provider? This is a server/site setup related issue so your first contact should be the hosting provider to see why it gives that error when a plugin tries to do a an ajax query.
Basically, if ajax is not working on your site then the username validation won’t work because it requires ajax. Every site should have ajax working unless there is some particularly weird setup on this site.
Who is your hosting provider, and what did they say? Or is this a DIY server?
July 12, 2018 at 9:30 pm #78146SScott
SpectatorYes, I saw that older answer in the forum, as I mentioned in my post. We have been in touch with our host, SiteGround, and they ran some tests and found a JS error in the file staging1.simplyhr.could/wp-acontact/plugins/wp-eMember/js/jquery.validationEngine.js
Error type: json is null
Is there a way to send you a screenshot of their reply? It has more info.
Sherry
July 12, 2018 at 9:33 pm #78147SScott
SpectatorI tried deactivating, deleting and reinstalling eMember but that made no difference.
Sherry
July 13, 2018 at 1:05 am #78148admin
KeymasterPlease do the following:
Let me know if you still the error after that.
July 13, 2018 at 2:44 pm #78149SScott
SpectatorI followed the instructions and when I try to reset a password it just says “User with this email address doesn’t exist.” even though their is a user with that pw.
Sherry
July 13, 2018 at 4:48 pm #78150wzp
ModeratorWe have been in touch with our host, SiteGround, and they ran some tests and found a JS error in the file staging1.simplyhr.could/wp-acontact/plugins/wp-eMember/js/jquery.validationEngine.js
Error type: json is null
There may be some kind of JS conflicts going on. Please read this post:
Then, try following the test procedure at the link, at the bottom of the post.
July 13, 2018 at 6:55 pm #78151SScott
SpectatorI am doubtful that this is a theme issue since the user creation was working when I initially tested it. And I haven’t added any plugins since then.
July 15, 2018 at 1:56 am #78152admin
KeymasterWe know for sure that the plugin itself doesn’t have any JavaScript errors. I have tested this myself on 2 of my test sites and there is not error. The plugin is active on my thousands of installs and this being a critical functionality, we would know if it was broken. So the issue is coming from some kind of conflict somewhere. Do you have any security plugin or firewall rule that is preventing that AJAX request? Have you done the following test already?
https://support.tipsandtricks-hq.com/forums/topic/test-to-identy-a-conflicting-theme-or-plugin
July 16, 2018 at 9:03 pm #78153SScott
SpectatorI have run the theme and plugin tests and the validation error still occurs.
THEME TEST
Switched to Twenty Sixteen theme and Validation error still occurring
PLUGINS TEST
• Deactivated all except
⁃ eStore
⁃ eMember
⁃ WP Payment Gateway Bundle
⁃ Extra Shortcodes for WP eStore
• Validation error still occurring
• Reactivated all plugins
• Validation error still occurring
What can we do now to get the eMember plugin working for us?
July 17, 2018 at 2:22 am #78154admin
KeymasterSomething else is blocking the Ajax request. Do you have any .htaccess file in the “wp-admin” folder?
I will jump on your site and take a look to see what I find. I have sent you an email for it.
July 18, 2018 at 1:58 pm #78155SScott
SpectatorJuly 18, 2018 at 11:47 pm #78156admin
KeymasterI have sent another email to that address just now.
July 25, 2018 at 3:08 pm #78157SScott
SpectatorI sent a reply to your recent email asking for some info. Did you receive that?
September 27, 2018 at 7:04 pm #78158chadrio
ParticipantHi!
In case it could be useful. My hosting is also SiteGround, I had the same problem with another plugin, “Ajax error: 200 parsererror jquery”, neither the technicians of the server nor the developer of the plugin found the failure.
Now with WP Member the same thing happened, and I started to check the .htaccess and functions.php again, this code in the functions.php was blocking both plugins.
I deleted it and the “Ajax error: 200 parsererror jquery” disappears and everything works OK.
/ * Restrict access to wp-admin * /
function restrict_access_admin_panel () {
global $ current_user;
get_currentuserinfo ();
if ($ current_user-> user_level <4) {
wp_redirect (get_bloginfo (‘url’));
exit;
}
}
add_action (‘admin_init’, ‘restrict_access_admin_panel’, 1);
Regards.
-
AuthorPosts
- You must be logged in to reply to this topic.