Are You Getting “Nonce” Errors on This Site?

Written by

in

nonce errors

What is a nonce error? According to Google:

A “nonce” (number used once) is a security token used to verify that a request to a server is legitimate and intentional. A nonce error means the server’s security check failed, usually because the token expired, was issued to someone else, or was cached incorrectly.

O’Brien Media adds:

When running a WordPress website, you want to keep it secure so that your forms, content, data, and users are safe from attacks and other malicious activity. One way you can do that is by using “nonces”.

“Nonces” are one-time tokens designed to protect forms and URLs from certain types of misuse, like Cross-Site Request Forgery (CSRF). Basically, a “nonce” is generated for a given user in a given context so that it’s unique to not only the WordPress install and user, but to the action, the object of the action, and the time of the action.

So let’s say a user opens a post to edit in their WordPress dashboard, then decides to delete it. When submitting the request to delete it, WordPress will verify if a previously generated “nonce” expected for this exact WordPress install, user, purpose, post, and time period was sent along. It will then decide if the user’s request can be safely processed. If it can’t, then it will return an error message.

This error mechanism is designed to prevent repeated, expired, malicious, or otherwise unwanted submissions and requests from being processed on your WordPress website — but it can also prevent real users from submitting forms or completing other actions on your site.

I am aware of this problem, It has been an on and off problem for a while. I apologize for any inconvenience this has caused you. This is no minor issue for me to fix, but I plan to dedicate a day or two next week to resolving the problem. I am pretty sure that my theme is the issue, but I won’t know that until I swap out the theme with a new one. I have been using the same theme since 2014. Once the theme is changed, the nonce problem should resolve itself. If not, that means I’ll need to consider caching issues or some other unknown issue as the culprit. WordPress just pushed out a major software upgrade. It is causing several minor conflicts with my theme. Another sign that it is time for me to make a change. One reason I am hesitant is that WordPress has gone to Gutenberg block editing for building themes, a more laborious task, to say the least.

I shall overcome, right after someone backs this truck off my body. 🙂

I appreciate your patience and understanding.

signature

Bruce Gerencser, 69, lives in rural Northwest Ohio with his wife of 48 years. He and his wife have six grown children and thirteen grandchildren. Bruce pastored Evangelical churches for twenty-five years in Ohio, Texas, and Michigan. Bruce left the ministry in 2005, and in 2008 he left Christianity. Bruce is now a humanist and an atheist.

Your comments are welcome and appreciated. All first-time comments are moderated. Please read the commenting rules before commenting.

You can email Bruce via the Contact Form.

Comments

9 responses to “Are You Getting “Nonce” Errors on This Site?”

  1. Avatar
    sevm

    Yes, it was me who emailed you about this. Let’s clarify what actually happened here: I didn’t send you a “how-to” tech support ticket, I sent a curt warning because your website was throwing up a severe and highly defamatory slur to UK visitors.

    ​Rather than a simple, professional reply acknowledging a bad software default, you ignored the inbox and chose to write a massive, public blog post hiding behind dictionary definitions to downplay it.

    ​The subtle, passive-aggressive deflection and the “benevolent martyr” routine at the end is a very familiar pastoral script. The fix is a straightforward copy-paste job in your code. I’ll leave you to your “laborious task” of fixing it. 🫡

    1. Avatar

      And I laughed at your use of the word “curt.”

      Sorry “nonce” is a technical term. That it is used as a slang word in Britain doesn’t matter to me. I have a lot of British readers, so I’ll leave it to them to, if necessary, set me straight.

      As far as my technical skills are concerned, you know nothing about me and my skill levels, so I hope you’ll forgive when I smile, shrug my shoulders, and walk away. 🤣🤣

      Hopefully, my response is “curt” enough for you.🤣🤣

    2. It seems that SEVM is indulging in performative outrage on behalf of all Brits, which is not only assumptive but arrogant. Perhaps if they had not been so confrontational and pedantic, Bruce’s response might have been different. Isn’t it strange how aggressive behaviour gets met with… aggressive behaviour?!

  2. One of the problems we have here in the UK is people who take offence on other people’s behalf. I see that is what SEVM is doing here.

    While I haven’t received a Nonce notice from Bruce’s site myself, I like to think I have sufficient intelligence to realise if I did that I was not being accused of being a paedophile (nonce being a colloquial term for paedophile here in the UK). The context and my knowledge of Bruce would tell me that. I would quickly realise ‘nonce’ was one of those words used differently in the US than in the UK, much like fag and fanny are.

    So please, SVEM, don’t assume Bruce’s British readers are too dim-witted to realise this – that is offensive! Don’t take offence on others’ behalf and don’t berate Bruce from your lofty moralistic position. You might, can I suggest, try minding your own business.

    1. Avatar

      Thanks, Neil. I appreciate what you said! ❤️❤️ I suspect Sevm will think differently. He’s so offended he’s beside himself. 🤣🤣

      1. Avatar
        matilddaa

        I’m with Neil about SVEM, I’m from the UK. I venture to suggest most of us have enough education, enough brain power to work out – as I did immediately – that nonce must have a completely different meaning to you over the pond. And as an wrinkly old woman, I’m always pleased to learn a new word, a new term or fact about something, I need to keep my brain active…..who was it who said the UK and the US are divided by a common language?
        (And some won’t understand – that it’s rare for me to claim to be british. I’m welsh and we fight many a battle to show our homeland is a completely different country from England and proud of it.)

        1. Avatar
          GeoffT

          I’ll add my thoughts to yours Matilda as a UK based reader in saying that I didn’t know that nonce was even a word! The odd times I’ve heard it I assumed people were word mangling it out of dunce. I knew that Bruce would not be using it in a derogatory way (he’s much more direct with his words and only at people who have it coming), and simply realised from the context that it must have a technical usage. People like SVEM seem to have an axe to grind but I’m really not sure why.

          Incidentally I hear you on the Wales/Welsh thing. Here in the north east of England we’re far closer to Scotland (and Edinburgh) than we are to London, by a long way yet every decision by central government seems based on the needs of the south east!

  3. Avatar
    John S.

    SVEM, based on your comments here and the other comments under Bruce’s Empathy post, you seem to me to be someone with a major chip on their shoulder..that’s American slang for an someone who is always looking to pick petty quarrels with other generally decent people.

  4. Avatar
    Karuna Gal

    I’m glad that you fixed this problem, Bruce. Because of that “nonce” issue the world lost two absolutely amazing, breathtakingly perfect posts by yours truly. A tragedy. 😅

Want to Respond to Bruce? Fire Away! If You Are a First Time Commenter, Please Read the Comment Policy Located at the Top of the Page.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from The Life and Times of Bruce Gerencser

Subscribe now to keep reading and get access to the full archive.

Continue reading