Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin "Check it!" button fails silently with nonce error #893

Open
rtpHarry opened this issue Mar 13, 2025 · 2 comments
Open

Plugin "Check it!" button fails silently with nonce error #893

rtpHarry opened this issue Mar 13, 2025 · 2 comments

Comments

@rtpHarry
Copy link

If the tab is left open, and you come back after a while and want to rescan, it can fail.

It will show the spinner for a second and then just disappear, with no feedback.

In the console there are these errors:

Failed to load resource: the server responded with a status of 403 ()
plugin-check-admin.js?=1741816233:83 

Error: Invalid nonce
    at handleDataErrors (plugin-check-admin.js?=1741816233:334:10)
Image

But there is not feedback for the user as to what's gone wrong.

Perhaps it should just automatically trigger a page reload, and show a message saying security check failed, please try again?

@tamimhasan19702
Copy link

how can i recreate this issue?? so that i can have a look

@rtpHarry
Copy link
Author

Not an easy one to recreate I guess, I just left the tab open. Maybe there is a snippet that can be used to manually invalidate the nonce?

I had been doing dev in the morning, when I returned to it in the afternoon and pressed Check It, nothing happened.

Looking at the console I saw the screenshot above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants