Cannot save settings, CORS/cross-origin errors
-
Hi, I found a (seemingly) similar topic here: https://ww.wp.xz.cn/support/topic/cant-save-settings-56/
The description is the same, the console shows a different error (in fact, 5 of them on plugin settings page load) though in the backend:
Cross-Origin Request Blocked: The Same Origin Policy disallows
reading the remote resource at https://googleads.g.doubleclick.net/pagead/id (Reason: CORS request did not succeed)WP Version 5.9.3 , Plugin latest version
What I tried:
* 3 different browsers, 2 of them without extensions and stuff, also using private windows – same problem everywhere
* uninstalled almost all plugins
* uninstall plugin and re-install
* compare with other instances of this (staging) site (localhost, prod): same problem
* jQuery: only the instance that comes with WordPress’ load-scripts.php
* deactivated all custom scripts that might interfere
* jQuery Version (via console): 3.6.0Additionaly (maybe related, maybe not), the frontend throws cross-origin errors only in Firefox, other (untouched) browsers display the videos.
I’m not getting where this Google ad URL comes from … the settings page should not have any connection to YouTube, should it?
Thanks for any hint where to further debug …
The topic ‘Cannot save settings, CORS/cross-origin errors’ is closed to new replies.