“Invalid Nonce” Error in login/ register page – WordPress website
29-07-2020 20 Comments Miscellaneous Virat Singh

Are you using Ultimate Member plugin in your WordPress website for member registration and getting the issue called Invalid Nonce? If yes then you have arrived on the right page now. Ultimate Member plugin is one of the most popular WordPress plugin used for member management.

As many of you have requested though various channels to address the issue, hence we are covering this issue. In this article, we have suggested some useful tips, and if you follow these tips, you are more likely to have your issue fixed in a few simple steps.

Invalid Nonce error

The Plugin shows this error only if it finds an expired nonce. It is just a part of the Plugin’s security features however if you have installed any cache plugin in your WordPress website, this plugin can have conflicts with the caching mechanism of the cache plugin. The problem is more frequent with WP Super Cache or Wordfence WordPress plugin.

Many people would suggest that excluding the login/register page from caching can itself resolve the issue and possibly you would have tried too but didn’t get your issue resolved not because of the wrong method but because of the wrong application.

In the same manner, I was using the Ultimate Member plugin for my WordPress website and it was working fine. One day I got an update alert on my dashboard and I just have updated the plugin to its latest version 2.1.6 released on June 1, 2020. Soon after updating the plugin, I started getting this error on the login page – “Invalid Nonce”.

I was using WP Super Cache plugin. I noticed that even after restricting the caching of login and register pages, the issue remains unresolved. Later on, I tried to contact the Plugin developer and read many articles on the internet but all these were found to be unproductive and waste of time. It was really frustrating as no one was prescribing the right solution to the issue.

After a lot of research, i arrived to a conclusion which was really working well. Now i considered this as one of the most effective tool for removing the Expired Nonce related issues from your WordPress website. Here, I am sharing my experience with you.

I order to remove the Invalid Nonce issue from your WordPress website please follow the below steps carefully:

Login to your WordPress website and try to exclude these pages.

Login Page – It is your login page
Register Page – It is the page on your site used by a member to register itself on your site.
Member Page – This page should also be excluded from caching, this page simply collects the data of the user. This data is used to establish a secure connection between the server and the user’s web browser.
Dashboard Page – This page must be excluded from caching. Most of the users make mistakes by not excluding this page from caching. Dashboard page can be a page on your site where a user is redirected automatically after the successful login or registration.

A. Copy the below code/strings

wp-.*\.php
index\.php
login/
register/
member/
dashboard/

Note: Dashboard page is a page on your site where a user is redirected automatically after the successful login or registration. If you are not sure about the Dashboard page on your site, then please follow the below steps –

1. Log in to wp-admin panel Find “Ultimate Member” plugin in menu list and click on it.

2. Go to “Settings” and check these pages carefully.

3. Now come back and click on the “User Roles

4. Click on “Edit” any user role, let say it subscriber

6. Set you “Dashboard” page here

B. Now if you have copied above strings/code, mentioning again for the reference, just paste it in the required place

wp-.*\.php
index\.php
login/
register/
member/
dashboard/

If you don’t know How or where to place above code? Please follow these steps –

1. Login to wp-admin panel. You will see a setting option here in the sidebar.

2. Select “WP Super Cache” option

3. Click on “Advanced

4. Add the given “strings” here and then “Save” it.

5. Now Delete the cache and Expired nonce to allow the new changes take place.

In that way, you can resolve the “Invalid Nonce” related issue on your website. However, if you find this information useful then please let me know about it.

Alternatively, if your problem has still not gone then you can consider installing another member plugin. I suggest you this WordPress plugin: Super Socializer

Tags
About The Author
Leave Comment
  1. 20 Comments

    Ruravi

    Hi,

    thanks for this post, im doing it but, i dont see the dashboard string, do you mean USERPAGE? or wich is the dashboard page, thank you so much

  2. 20 Comments

    Virat Singh

    @RURAVI Please follow this step

    Setting >> WP Super cache >> advanced

    Scroll down you will find the same …

  3. 20 Comments

    mini laptopy

    I’m really enjoying the design and layout of your site.

    It’s a very easy on the eyes which makes it much more pleasant for me to come here and visit more
    often. Did you hire out a developer to create your theme?
    Exceptional work!

  4. 20 Comments

    Martha

    Use meals to keep your senior canine at his perfect physique weight.

  5. 20 Comments

    Bigg Boss Telugu Vote

    Your method of explaining everything in this article is in fact fabulous, Thanks a lot.

  6. 20 Comments

    mobile legends hacks

    whoah this weblog is great i love reading your posts.
    Stay up the great work! You understand, many people are
    hunting round for this information, you can help them greatly.

  7. 20 Comments

    Bigg Boss Telugu Vote

    This article provides pleasant understanding even.

  8. 20 Comments

    Opisy Tematy

    Ill recommend this website!

  9. 20 Comments

    camo phone case

    I am not sure where you’re getting your information, but good topic.
    I needs to spend some time learning much more or understanding more.
    Thanks for excellent information I was looking for this
    info for my mission.

  10. 20 Comments

    autenticos y exclusivos

    I think this is a real great blog.Really looking forward to read more. Keep writing.

  11. 20 Comments

    intel xeon e7-8890 v3

    I like the helpful information you provide on your articles.
    I’ll bookmark your weblog and take a look at once more here frequently.
    I’m slightly sure I will learn plenty of new stuff right here!

    Best of luck for the next!

  12. 20 Comments

    https://sofiaclean.tumblr.com

    Hi! Would you mind if I share your blog with my facebook group?
    There’s a lot of people that I think would really
    appreciate your content. Please let me know. Many thanks

    Feel free to visit my site :: cuffy – https://sofiaclean.tumblr.com,

  13. 20 Comments

    Mahmudul

    Thank you guys, your article help me a lot

  14. 20 Comments

    e-2124

    Hi, after reading this remarkable paragraph i am also glad to
    share my familiarity here with mates.

  15. 20 Comments

    Shivansh Thakur

    Wonderful article! That is the kind of information that are supposed to be
    shared around the net. Shame on Google for no longer positioning this submit upper!

  16. 20 Comments

    ucretsiz

    I believe that is one of the so much significant information for me. Sophia Skell Ezaria

  17. 20 Comments

    bluray

    Hello to every one, the contents present at this web site are truly awesome for people knowledge, well, keep up the nice work fellows. Ema Barney Galanti

  18. 20 Comments

    yify

    Hi there, all the time i used to check webpage posts here early in the break of day, because i enjoy to gain knowledge of more and more. Darcie North Cynar

  19. 20 Comments

    ucretsiz

    I really like your article. Nice write up. big fan of and . Jessamine Corney Berne

  20. 20 Comments

    Chandan Singh Virat ✅

    No it’s not on Drupal

Leave a reply