Title: Javascript / Cookie Error When Registration Spam Shield is Enabled
Last modified: August 30, 2016

---

# Javascript / Cookie Error When Registration Spam Shield is Enabled

 *  Resolved [wanderingstars](https://wordpress.org/support/users/wanderingstars/)
 * (@wanderingstars)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/javascript-cookie-error-when-registration-spam-is-enabled/)
 * Hello. This is an awesome plugin but I am having one big issue. Whenever the 
   registration spam shield is enabled and somebody tries to register on my site,
   they get the following error:
 * Error: ERROR: JavaScript and Cookies are required in order to register. Please
   be sure JavaScript and Cookies are enabled in your browser, and reload the page.
 * However, if I disable to registration spam shield, the error does not show up
   and the user is able to register.
 * I really do not want the registration spam shield disabled. Is there anything
   I can do?
 * [https://wordpress.org/plugins/wp-spamshield/](https://wordpress.org/plugins/wp-spamshield/)

Viewing 11 replies - 1 through 11 (of 11 total)

 *  Plugin Contributor [redsand](https://wordpress.org/support/users/redsand/)
 * (@redsand)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/javascript-cookie-error-when-registration-spam-is-enabled/#post-6354412)
 * Hi wanderingstars,
 * I’m sorry to hear about the issue you’re having and I’ll be happy to help.
 * If you haven’t had a chance to yet, please take a few minutes to work through
   the [Troubleshooting Guide](http://www.redsandmarketing.com/plugins/wp-spamshield/#wpss_troubleshooting)
   and [FAQs](http://www.redsandmarketing.com/plugins/wp-spamshield/#wpss_faqs),
   as these solve 90% of issues users have.
 * Please take special note of Troubleshooting Step 9 and [FAQ #9](http://www.redsandmarketing.com/plugins/wp-spamshield/#wpss_faqs_9)
   as they relate specifically to the issue you are dealing with, and will give 
   you the steps to proceed forward.
 * From the Troubleshooting Guide:
 * >  _If this message comes up consistently even after JavaScript and cookies are
   > enabled, then there most likely is an installation problem, site configuration
   > issue, plugin conflict, or JavaScript conflict._
 * If those don’t solve the issue for you, we’ll need a bit more info from you on
   the specifics, and we’ll need to email back and forth, so please head over to
   the [WP-SpamShield Support Form](http://www.redsandmarketing.com/plugins/wp-spamshield/support/),
   and take a moment to fill out a support request. That will allow us to take care
   of this as quickly as possible for you (and anyone else who is experiencing the
   same issue).
 * – Scott
 *  Thread Starter [wanderingstars](https://wordpress.org/support/users/wanderingstars/)
 * (@wanderingstars)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/javascript-cookie-error-when-registration-spam-is-enabled/#post-6354666)
 * I troubleshooted everything and am still having issues. I will head over to the
   support form now. Thank you for your help! It is a great plugin.
 *  [joelnewcomer](https://wordpress.org/support/users/joelnewcomer/)
 * (@joelnewcomer)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/javascript-cookie-error-when-registration-spam-is-enabled/#post-6354668)
 * I’m having this same issue and I have found that it is specific to Chrome on 
   Windows 8.1
 *  Plugin Contributor [redsand](https://wordpress.org/support/users/redsand/)
 * (@redsand)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/javascript-cookie-error-when-registration-spam-is-enabled/#post-6354669)
 * [@wanderingstars](https://wordpress.org/support/users/wanderingstars/): We got
   your support request and just emailed you back. 🙂
 * [@joelnewcomer](https://wordpress.org/support/users/joelnewcomer/): We do a LOT
   of testing to ensure compatibility, and we would never let there be a conflict
   with a major browser or OS like that. 🙂 We’ve definitely tested it on Chrome
   on Win 8.1, with no issues.
 * A couple things to keep in mind when something seems specific to one browser,
   especially a major, up-to-date browser:
    - JavaScript works the same in all modern browsers so the likelihood of a browser
      specific bug gets lower with each passing year.
    - When you have a browser that allows extensions, it’s important to check for
      any browser extensions that may be disabling JavaScript.
    - Cache issues are the most likely culprit, whether browser cache, or WordPress
      cache plugins. When something like this happens, then you will want to clear
      the caches first thing…that clears up a lot of headaches.
 * If you’ve checked these things, then it most likely has nothing to do with the
   actual browser at all. We’ll need to get more info from you and we’ll be happy
   to look into it for you. Since you’ve already submitted a support request in 
   the past, just respond to the last email thread, and we’ll help you get things
   fixed up.
 *  Plugin Contributor [redsand](https://wordpress.org/support/users/redsand/)
 * (@redsand)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/javascript-cookie-error-when-registration-spam-is-enabled/#post-6354671)
 * [@wanderingstars](https://wordpress.org/support/users/wanderingstars/) & [@joelnewcomer](https://wordpress.org/support/users/joelnewcomer/):
 * We were able to track down the issue. It’s specific to registrations on the “
   My Acccount” page in WooCommerce. (Registrations that happen when a new user 
   signs up during the checkout process should be working fine.) The JavaScript 
   that adds the hidden fields to the form, which allows it to validate, is not 
   working at the moment.
 * We’re working on figuring out what happened…if there is something in WooCommerce
   that changed (since it worked last) that is affecting it, or if it’s something
   in WP-SpamShield that changed since then.
 * Either way, we’re currently working on a fix, and will put out an update with
   it.
 * In the meantime, as a temporary fix, turn on Compatibility Mode. Instructions
   here: [http://www.redsandmarketing.com/plugins/wp-spamshield/#wpss_compatibility_mode](http://www.redsandmarketing.com/plugins/wp-spamshield/#wpss_compatibility_mode)
 * The other option, although less desirable for most, is to turn off Registration
   spam protection.
 *  [joelnewcomer](https://wordpress.org/support/users/joelnewcomer/)
 * (@joelnewcomer)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/javascript-cookie-error-when-registration-spam-is-enabled/#post-6354685)
 * Thanks Scott! You are the man! I am swamped right now, but I will test this further
   as soon as I get a chance. Thanks for all your help!
 *  Plugin Contributor [redsand](https://wordpress.org/support/users/redsand/)
 * (@redsand)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/javascript-cookie-error-when-registration-spam-is-enabled/#post-6354686)
 * You’re welcome, Joel! 🙂
 * If you upgrade to the latest version is should be taken care of.
 * No problem…let us know if you need any further help.
 *  [ronit87](https://wordpress.org/support/users/ronit87/)
 * (@ronit87)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/javascript-cookie-error-when-registration-spam-is-enabled/#post-6354711)
 * Hello,
    We have installed wp-spamshield plugin Version 1.5.8 with wordpress version
   4.2.1.
 * We have used same wordpress source code in 2 different domains catering 2 languages.
   In first domain, the spamshield functions properly but in 2nd domain it is giving
   below error.
 * —
    ERROR: JavaScript and Cookies are required in order to post a comment.
 * Please be sure JavaScript and Cookies are enabled in your browser. Then, please
   hit the back button on your browser, and try posting your comment again. (You
   may need to reload the page.)
 * If you feel you have received this message in error (for example if JavaScript
   and Cookies are in fact enabled and you have tried to post several times), there
   is most likely a technical problem (could be a plugin conflict or misconfiguration).
   Please contact the author of this site, and let them know they need to look into
   it.
    —
 * We tried all above solutions provided in this thread. Though, it does not work
   in my case.
 * Please let me know if there is any solution available to enable wp-spamshield
   plugin which catering 2 different domains with single source code.
 * Thanks,
 *  Plugin Contributor [redsand](https://wordpress.org/support/users/redsand/)
 * (@redsand)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/javascript-cookie-error-when-registration-spam-is-enabled/#post-6354712)
 * Hi Ronit,
 * This thread is actually about a bit of a different issue than you’re reporting…
   This thread is about a specific issue with registration forms on WooCommerce,
   and that issue has been fixed already.
 * You mentioned that you had tried all the above solutions mentioned in this thread,
   but one of the first things I posted, is that it’s important to work through 
   the [Troubleshooting Guide](http://www.redsandmarketing.com/plugins/wp-spamshield/#wpss_troubleshooting)
   and [FAQs](http://www.redsandmarketing.com/plugins/wp-spamshield/#wpss_faqs),
   as these solve 90% of issues users have. This is going to be especially true 
   in your case. You’re using _version 1.5.8 _of WP-SpamShield, which is an outdated
   version…that was released 9 months ago and the plugin is currently at _version
   1.9.5.4_. Please see the [changelog](http://www.redsandmarketing.com/plugins/wp-spamshield/version-history/),
   and you will notice that there have been a tremendous amount of improvements 
   and optimizations to the plugin since then. Also, I see you’re using WordPress
   4.2.1.
 * In Troubleshooting Step 3, it says:
 * > If you haven’t yet, please upgrade to the latest version of the plugin, and
   > the latest version of WordPress.
 * So, first thing, you need to upgrade the plugin to the current version. Also,
   please upgrade WordPress to 4.2.4 right away as there is are multiple serious
   security flaws in the version you’re using.
 * In Troubleshooting Step 10, it says:
 * > **If you have multiple domains that resolve to the same server, or are parked
   > on the same hosting account, make sure the domain set in the WordPress configuration
   > options matches the domain where you are accessing the blog from.** In other
   > words, if you have people going to your blog using `http://www.yourdomain.com/`
   > and the WordPress configuration has: `http://www.yourdomain2.com/` you will
   > have a problem (not just with this plugin, but with a lot of things.)
 * So, basically, how you have things set up with two domains using the same WordPress
   install, won’t work. Each domain needs to have a unique WordPress installation
   on it.
 * So, go ahead and upgrade the plugin and WordPress, and make those adjustments.
   If things still aren’t working for you, then head over to the [WP-SpamShield Support Form](http://www.redsandmarketing.com/plugins/wp-spamshield/support/)
   and submit a support request and we’ll help you get it sorted out.
 * – Scott
 *  [hflecha86](https://wordpress.org/support/users/hflecha86/)
 * (@hflecha86)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/javascript-cookie-error-when-registration-spam-is-enabled/#post-6354767)
 * I inform you that this problem occurs again, with the latest versions of WordPress
   and WooCommerce.
 *  Plugin Contributor [redsand](https://wordpress.org/support/users/redsand/)
 * (@redsand)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/javascript-cookie-error-when-registration-spam-is-enabled/#post-6354768)
 * When this thread was started, there was a specific conflict that has been fixed
   a long time ago.
 * If you experience a JavaScript and Cookies error now, that is a general issue,
   that can easily be fixed. You need to work through the Troubleshooting Guide 
   and FAQs. Please see my original response above. If the issue continues after
   you’ve done that, then please submit a support request at the WP-SpamShield Support
   page. (Link is in my original response as well.)

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Javascript / Cookie Error When Registration Spam Shield is Enabled’ is
closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-spamshield_08293a.svg)
 * [WP-SpamShield](https://wordpress.org/plugins/wp-spamshield/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-spamshield/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-spamshield/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-spamshield/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-spamshield/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-spamshield/reviews/)

## Tags

 * [cookies](https://wordpress.org/support/topic-tag/cookies/)
 * [FAQ 9](https://wordpress.org/support/topic-tag/faq-9/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [JavaScript &amp; cookies error](https://wordpress.org/support/topic-tag/javascript-amp-cookies-error/)
 * [Please see FAQs](https://wordpress.org/support/topic-tag/please-see-faqs/)
 * [Please see Troubleshooting Guide](https://wordpress.org/support/topic-tag/please-see-troubleshooting-guide/)
 * [Registration](https://wordpress.org/support/topic-tag/registration/)
 * [Troubleshooting Step 9](https://wordpress.org/support/topic-tag/troubleshooting-step-9/)

 * 11 replies
 * 5 participants
 * Last reply from: [redsand](https://wordpress.org/support/users/redsand/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/javascript-cookie-error-when-registration-spam-is-enabled/#post-6354768)
 * Status: resolved