Support

Home Forums Event Espresso Premium User Integration Settings Throwing Error

User Integration Settings Throwing Error

Posted: January 4, 2022 at 10:32 am

Viewing 3 reply threads


Heather Jones

January 4, 2022 at 10:32 am

When trying save a Registration Page URL (different from default WordPress Registration) on the User Integration Settings I get a page that says Nonce Fail which links to a youtube video about Legos. This is the page it’s linking to. https://www.youtube.com/watch?v=56_S0WeTkzs I wish I was joking, but it’s really happening. Can you help or is this a WP problem?


Garth

  • Support Staff

January 4, 2022 at 5:00 pm

Hi Heather,

Can you describe what you’re trying to accomplish?

Normally, setting an alternate registration page url is done in the event editor in the Event Registration Options meta box. That would redirect people from your event page to the address you provided to register.


Heather Jones

January 5, 2022 at 7:07 am

Hi Garth,
It’s on the WP user integration screen. Here’s a link to a screenshot. It says “When login is required on an event, this will be the url used for the registration link on the login form.” I filled out that field and hit save then got that weird Nonce failure error. (But of course it’s working now.) On another note, I’ve set “Login required on registration” to NO but it’s still requiring a login. Is that a bug or do I need to do something else. I got it set to No on both the event level and the User Integration Settings.
https://prnt.sc/264srh4


Tony

  • Support Staff

January 5, 2022 at 7:45 am

Hi Heather,

First, a quick explanation on nonce errors as it should help explain what I think happened here.

In WordPress, a nonce is a “number used once” and it’s used to help prevent some types of attacks/abuse of URLs, it’s a basic check where a value is generated when the page is loaded and then when the page is submitted, that value is checked/validated. They have a time limit and will ‘expire’ but just to be clear, they aren’t a high-security feature (and aren’t intended as such) but prevent things like requests being cached and then when called 3 days later the cached request repeats the same action again (for example deleting a post).

So when nonce errors show it usually means you’ve had that tab open for a while and the nonce that was initially generated has now expired, so when you enter the value and hit save the value was checked and threw the error.

It’s now working as you are using a ‘fresh’ page when testing this, the nonce is valid and works as expected, if you again opened that tab and then left it for at least 24 hours the nonce would expire and show the error again when you updated the settings using that tab (unless you refreshed the page first). If you were getting this on a new page or after refreshing the page again then it would mean there was a deeper issue which we would need to investigate.

(Sidenote – just to explain the YouTube video, it is a developer easter egg as one of the original developers of Event Espresso is a Star Wars fan that we left in from the original version).

On another note, I’ve set “Login required on registration” to NO but it’s still requiring a login. Is that a bug or do I need to do something else. I got it set to No on both the event level and the User Integration Settings.

I replied to your other thread about this HERE.

Viewing 3 reply threads

The support post ‘User Integration Settings Throwing Error’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso