Error 20004 Invalid nounce after plugin update

WPPizza – A Restaurant Plugin for WordPress Support General Support Error 20004 Invalid nounce after plugin update

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #49763

    Version 3.12.10

    I get this error after updating to the above version. I have disabled all pluggins that I think might get in the way of placing order but I still gett this. This happened on our live server but we reverted back a version and things are running ok there. But I run the project locally with the updated version and I get the error.

    Any ideas?

    #49764
    Olly
    Admin & Mod

      nonces are used throughout wordpress

      what version did you update from ?
      as you did not provide a url / run things on localhost i can only point you in the general direction as to why nonces might be invalid and perhaps this will help

      https://www.google.co.uk/search?q=wordpress+error+invalid+nonce

      it is impossible for me to guess where your problem may be without at least a url where i can see this

      #49772

      Oh dear. My head was on backwards yesterday…
      I am spinning up a staging server to show you what going on and this error only occurs when trying to checkout the order. I have disabled all gateway pluggins and am just using the Pay on pickup option for the test order. I will send you a private msg when I have the staging running with passwords and whatnot.

      #49773
      This reply has been marked as private.
      #49774
      Olly
      Admin & Mod

        you are using some gateway in know nothing about
        namely something called “avista_is-avista-wppizza-gateway-50726f33a922”
        and it’s throwing errors (see your browser console)
        first thing i’d suggest is deactivate this and see if you still have the same issue

        #49775
        Olly
        Admin & Mod

          PS: i would also suggest you enable debug like so
          https://docs.wp-pizza.com/troubleshooting/

          #49776

          Im sorry I thought I had disabled that plugin. (it is built on the gateway demo within the wp-pizza plugin) and is causing some troubles. But I have set the debug mode to true and I did encounter some warnings that I have taken care of. The errors in the console were actually reminders for myself to have the gateway pluggin turned on but those are gone now since I disabled the “avista_is-avista-wppizza-gateway-50726f33a922” plugin but still the error persists

          Pic of error

          #49777
          Olly
          Admin & Mod

            it’s actually quite simple.
            something on your site is removing the nonces, so of course, it will say invalid nonce
            i somewhat suspect you have some custom coding somewhere / edited some templates (?)

            #49778

            Hm the only time I ever configure a nounce is when I am building a custom Ajax call and I am not doing so on this website. (Im not implementing the wp_create_nonce(‘some_nounce_secret_string’) method )

            The site works with the wp-pizza version 3.12.1 but the error occurs after the update to 3.12.10 so apparently nounces are not missing before that.

            The live site is using v. 3.12.1 and we are able to check out.

            No templates have been messed with just this update.

            #49779
            Olly
            Admin & Mod

              using any wppizza related filters/actions in you (child)theme or dedicated plugin ?

              #49781
              Olly
              Admin & Mod

                > I disabled the “avista_is-avista-wppizza-gateway-50726f33a922” plugin but still the error persists

                doesnt look like it . it is still loading it’s scripts etc from what i can see (so who knows what else it is doing)

                #49787

                Ok never mind I’ll figure it out.

              Viewing 12 posts - 1 through 12 (of 12 total)
              • The topic ‘Error 20004 Invalid nounce after plugin update’ is closed to new replies.