Browser Error Message
-
https://drive.google.com/file/d/1jQCxxi7UWO1MRzO44pAGNozcXUEmU9ib/view?usp=sharing
My website browser displays an error message like the one in the attachment.
-
Hi there!
This is expected message log in browser console. It can appear on settings change, after changing logged in user id and sometimes after plugin update.
Thanks!Sometimes users who are not logged in will see this attachment screen.
The chat room cannot load, and sometimes problems arise for unknown reasons.
https://drive.google.com/file/d/13Whmv3BE_7Vru2NRLXPeVIf_SpChMcTD/view?usp=sharing
-
This reply was modified 2 years, 4 months ago by
f2591422.
The chat room cannot load, and sometimes problems arise for unknown reasons.
Hi there!
This message is clearly states that authorization at website is not valid anymore, which usually means that WordPress security nonce does not valid when trying to access API.
That issue can be caused by cache plugins, which caching the nonce value. You can try to disable cache plugins or maybe increase nonce lifetime:
https://developer.ww.wp.xz.cn/apis/security/nonces/#modifying-the-nonce-lifetimeIf you are claiming there is some bug in the plugin, please ensure that the bug persists with cache disabled and then please report the way to reproduce to the support email and I will take a look.
Thanks!My plugin has a setting to ignore query parameters. What parameter should I input to exclude the issue of caching nonce value?
The nonce value contained inside of html page body, so if that is the issue you need to disable cache, reduce caching time so it will be less then nonce lifetime or increase nonce lifetime to be more then caching time.
Please learn this article, which probably explains its abit better then me:
https://docs.wp-rocket.me/article/975-nonces-and-cache-lifespanI am using FlyingPress as the cache.
this does not change how the cache works, but if you want contact flyingpress about that.
You mean to say that I can solve this problem by reducing the cache time.
Yes, if the issue is with cached nonce tokens, like I tried to guess above.
Without looking into issue myself, I cant know for sure if the issue is invalid nonce or something else.
I just proposing one of the possible issues, which is most likely is the issue in your case.
Can you help me check what the reason is? I’ve increased the nonce but the problem isn’t resolved, and I don’t want to disable caching.
Yes, You can contact support email for that.
-
This reply was modified 2 years, 4 months ago by
The topic ‘Browser Error Message’ is closed to new replies.