Update on “Invalid Nonce” error on login with Ultimate Member
-
Since June, my users have been getting an invalid nonce error frequently when logging in using Ultimate Member. I have participated in a couple of forums about it. I am still getting this error and thought I would summarize here the various solutions from different forums and see if anyone has ideas as to why this issue is not resolved.
In the following forum, I received some fantastic advice from @singhvirat who recommended that I write the following in “List of browser agent strings which, if detected, will prevent caching” in my caching plugin (I use WP-Optimize).
wp-.*\\.php
index\\.php
login/
register/
member/
dashboard/
account/
user/This seemed to work for me. This past month, however, my users and I have started to get the “invalid nonce” error again when logging in.
In a different forum, @jedendwatrzy recommended to add the following code to the ultimate member login template within <form></form>
UM()->login()->add_nonce();
I tried this but nothing changed.
I use ultimate member on three separate multisites. When a user gets the error, if I select “purge all pages” for deleting cache on the site using wp-optimize, they can login. However, this error will occur again. It seems like this error is more likely to occur with the Safari browser.
I am a teacher at a university and have built my own WP Sites. This issue is occupying a great chunk of my time and interfering with my being able to do what I am supposed to be doing, teach! Any ideas would be greatly appreciated.
I should add that this error occurs very unpredictably. It is hard to reproduce. Some users seem to get it more than others. I seem to be more likely to get it if I have logged into different sites on the multisite.
The page I need help with: [log in to see the link]
- The topic ‘Update on “Invalid Nonce” error on login with Ultimate Member’ is closed to new replies.