Hi guys,
Whenever I preview any email templates from Marketing > Email Templates these errors will show.
Can anyone help me with these issues?
Thanks in advanced.
EDIT: This is the error in text form
- Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-+2fKGObejacuP4SLuObA8gksXdvQNO4noaRbPZ5NrT4='), or a nonce ('nonce-...') is required to enable inline execution.
- Blocked script execution in 'http://shoshaaustralia.com/vietkkong1975/admin/email_template/popup/key/f83b5572c102850cb106595be602...' because the document's frame is sandboxed and the 'allow-scripts' permission is not set.
- Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('http://shoshaaustralia.com') does not match the recipient window's origin ('null').
sendLocation @ gps.js:196
- shoshaaustralia.com/:1 A cookie associated with a cross-site resource at http://shoshaaustralia.com/ was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.
- shoshaaustralia.com/:1 Access to font at 'http://shoshaaustralia.com/static/version1573775174/adminhtml/Magento/backend/en_US/fonts/opensans/r...' from origin 'null' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
opensans-400.woff2:1 Failed to load resource: net::ERR_FAILED
gps.js:196
- Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('http://shoshaaustralia.com') does not match the recipient window's origin ('null').
sendLocation @ gps.js:196
- shoshaaustralia.com/:1 Access to font at 'http://shoshaaustralia.com/static/version1573775174/adminhtml/Magento/backend/en_US/fonts/opensans/r...' from origin 'null' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
opensans-400.woff:1 Failed to load resource: net::ERR_FAILED
gps.js:196
- Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('http://shoshaaustralia.com') does not match the recipient window's origin ('null').
Hi @tony_le2
Can you please share the link of images as this image will be visible only when approved by moderator.
Thanks!
Hi @tony_le2
Please upload a better quality image. The errors can not be read as font is very small.
You may edit your question and update error message there in text form.
Hello @tony_le2
Checkout this reference
Can you also confirm its not causing by any ad blocker in your browser only?
Also if you are using CDN, discuss this issue with them as well.
Hi, I have edit the error in text form, please help me
@theMageComp wrote:Hello @tony_le2
Checkout this reference
Can you also confirm its not causing by any ad blocker in your browser only?
Also if you are using CDN, discuss this issue with them as well.
I'm not using CDN, I have tried all browsers with and without Ad Blocker. the error still the same.
Can anyone help me with this issue please
Is there any update on this? I got the same error.
@tony_le2 Thanks for your answer! Maybe we had a different error with js minifying enabled. We applied this fix: https://github.com/magento/magento2/commit/e8eb43a84cb861cedda424aaf8be83aa1c6c1c29