How to solve Blocked a frame with origin from accessing a cross origin frame error in wordpress?
I am working on a WordPress website in which there are a lot of wordpress plugins installed.
The plugins installed on the wordpress website has the following options:
When I click on View details option, I am getting the blank screen as shown below in an image but when I open in a new window or tab, it works.
On checking console, I am getting the following error (when clicking on View Details fails to open on the same page):
Blocked a frame with origin from accessing a cross-origin frame.
at Contents
at Function.map
at a.fn.init.n.fn.(anonymous function) [as contents]
and many other places.
Problem Statement:
I am wondering which file I need to modify in wordpress in order to solve this error. This error seems to exist in every wordpress plugins. It works in a new tab or window but fails to work in the same page.
javascript jquery wordpress same-origin-policy
|
show 4 more comments
I am working on a WordPress website in which there are a lot of wordpress plugins installed.
The plugins installed on the wordpress website has the following options:
When I click on View details option, I am getting the blank screen as shown below in an image but when I open in a new window or tab, it works.
On checking console, I am getting the following error (when clicking on View Details fails to open on the same page):
Blocked a frame with origin from accessing a cross-origin frame.
at Contents
at Function.map
at a.fn.init.n.fn.(anonymous function) [as contents]
and many other places.
Problem Statement:
I am wondering which file I need to modify in wordpress in order to solve this error. This error seems to exist in every wordpress plugins. It works in a new tab or window but fails to work in the same page.
javascript jquery wordpress same-origin-policy
1
Probably a common issue. Would check questions on wordpress.stackexchange.com
– charlietfl
Nov 12 at 4:46
this is a browser issue instead of a wordpress issue per se, check your browser settings (possible duplicate stackoverflow.com/questions/25098021/…)
– Nikos M.
Nov 14 at 14:05
@NikosM. Hi, I had a look on the link but I am unable to find any concrete answer. I am going to open my wordpress website on different browser.
– john
Nov 14 at 15:22
blocking frame conent if it is from different origin is common to all browsers but can change with a browser setting, it is not a wordpress issue it is a browser securoty issue
– Nikos M.
Nov 14 at 17:00
Nikos M I am wondering what browser settings I need to change let say for example chrome. I am wondering what settings I need to change there in order to make it work.
– john
Nov 14 at 18:42
|
show 4 more comments
I am working on a WordPress website in which there are a lot of wordpress plugins installed.
The plugins installed on the wordpress website has the following options:
When I click on View details option, I am getting the blank screen as shown below in an image but when I open in a new window or tab, it works.
On checking console, I am getting the following error (when clicking on View Details fails to open on the same page):
Blocked a frame with origin from accessing a cross-origin frame.
at Contents
at Function.map
at a.fn.init.n.fn.(anonymous function) [as contents]
and many other places.
Problem Statement:
I am wondering which file I need to modify in wordpress in order to solve this error. This error seems to exist in every wordpress plugins. It works in a new tab or window but fails to work in the same page.
javascript jquery wordpress same-origin-policy
I am working on a WordPress website in which there are a lot of wordpress plugins installed.
The plugins installed on the wordpress website has the following options:
When I click on View details option, I am getting the blank screen as shown below in an image but when I open in a new window or tab, it works.
On checking console, I am getting the following error (when clicking on View Details fails to open on the same page):
Blocked a frame with origin from accessing a cross-origin frame.
at Contents
at Function.map
at a.fn.init.n.fn.(anonymous function) [as contents]
and many other places.
Problem Statement:
I am wondering which file I need to modify in wordpress in order to solve this error. This error seems to exist in every wordpress plugins. It works in a new tab or window but fails to work in the same page.
javascript jquery wordpress same-origin-policy
javascript jquery wordpress same-origin-policy
edited Nov 14 at 3:05
asked Nov 12 at 3:04
john
1,8601667150
1,8601667150
1
Probably a common issue. Would check questions on wordpress.stackexchange.com
– charlietfl
Nov 12 at 4:46
this is a browser issue instead of a wordpress issue per se, check your browser settings (possible duplicate stackoverflow.com/questions/25098021/…)
– Nikos M.
Nov 14 at 14:05
@NikosM. Hi, I had a look on the link but I am unable to find any concrete answer. I am going to open my wordpress website on different browser.
– john
Nov 14 at 15:22
blocking frame conent if it is from different origin is common to all browsers but can change with a browser setting, it is not a wordpress issue it is a browser securoty issue
– Nikos M.
Nov 14 at 17:00
Nikos M I am wondering what browser settings I need to change let say for example chrome. I am wondering what settings I need to change there in order to make it work.
– john
Nov 14 at 18:42
|
show 4 more comments
1
Probably a common issue. Would check questions on wordpress.stackexchange.com
– charlietfl
Nov 12 at 4:46
this is a browser issue instead of a wordpress issue per se, check your browser settings (possible duplicate stackoverflow.com/questions/25098021/…)
– Nikos M.
Nov 14 at 14:05
@NikosM. Hi, I had a look on the link but I am unable to find any concrete answer. I am going to open my wordpress website on different browser.
– john
Nov 14 at 15:22
blocking frame conent if it is from different origin is common to all browsers but can change with a browser setting, it is not a wordpress issue it is a browser securoty issue
– Nikos M.
Nov 14 at 17:00
Nikos M I am wondering what browser settings I need to change let say for example chrome. I am wondering what settings I need to change there in order to make it work.
– john
Nov 14 at 18:42
1
1
Probably a common issue. Would check questions on wordpress.stackexchange.com
– charlietfl
Nov 12 at 4:46
Probably a common issue. Would check questions on wordpress.stackexchange.com
– charlietfl
Nov 12 at 4:46
this is a browser issue instead of a wordpress issue per se, check your browser settings (possible duplicate stackoverflow.com/questions/25098021/…)
– Nikos M.
Nov 14 at 14:05
this is a browser issue instead of a wordpress issue per se, check your browser settings (possible duplicate stackoverflow.com/questions/25098021/…)
– Nikos M.
Nov 14 at 14:05
@NikosM. Hi, I had a look on the link but I am unable to find any concrete answer. I am going to open my wordpress website on different browser.
– john
Nov 14 at 15:22
@NikosM. Hi, I had a look on the link but I am unable to find any concrete answer. I am going to open my wordpress website on different browser.
– john
Nov 14 at 15:22
blocking frame conent if it is from different origin is common to all browsers but can change with a browser setting, it is not a wordpress issue it is a browser securoty issue
– Nikos M.
Nov 14 at 17:00
blocking frame conent if it is from different origin is common to all browsers but can change with a browser setting, it is not a wordpress issue it is a browser securoty issue
– Nikos M.
Nov 14 at 17:00
Nikos M I am wondering what browser settings I need to change let say for example chrome. I am wondering what settings I need to change there in order to make it work.
– john
Nov 14 at 18:42
Nikos M I am wondering what browser settings I need to change let say for example chrome. I am wondering what settings I need to change there in order to make it work.
– john
Nov 14 at 18:42
|
show 4 more comments
2 Answers
2
active
oldest
votes
The browser is blocking the new frame due to an HTTP security header. There are few relevant security headers and you can get the details here:
https://www.dionach.com/blog/an-overview-of-http-security-headers
Most likely, that one of the WordPress security plugins is injecting this header.
In rare cases, the web server itself was configured to inject those headers.
I suggest to search through the settings of all active security plugins to find where the "Same Origin Policy" is forced on admin screens.
If you can't find the setting directly, then disable the plugins one-by-one, till the issue is resolved. Of-course, there is a plugin to disable plugins for you only (without affecting any other user): https://wordpress.org/plugins/health-check/
add a comment |
This issue can be from video iframe. Which can be in widget or anywhere you used. Did you added any video iframe from any channel which has any privacy or restriction.
If it's for particular plugin use case then please take a look around where you used or check plugin code or plugin issues if it has any issue then apply patch for that ?
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53255468%2fhow-to-solve-blocked-a-frame-with-origin-from-accessing-a-cross-origin-frame-err%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
The browser is blocking the new frame due to an HTTP security header. There are few relevant security headers and you can get the details here:
https://www.dionach.com/blog/an-overview-of-http-security-headers
Most likely, that one of the WordPress security plugins is injecting this header.
In rare cases, the web server itself was configured to inject those headers.
I suggest to search through the settings of all active security plugins to find where the "Same Origin Policy" is forced on admin screens.
If you can't find the setting directly, then disable the plugins one-by-one, till the issue is resolved. Of-course, there is a plugin to disable plugins for you only (without affecting any other user): https://wordpress.org/plugins/health-check/
add a comment |
The browser is blocking the new frame due to an HTTP security header. There are few relevant security headers and you can get the details here:
https://www.dionach.com/blog/an-overview-of-http-security-headers
Most likely, that one of the WordPress security plugins is injecting this header.
In rare cases, the web server itself was configured to inject those headers.
I suggest to search through the settings of all active security plugins to find where the "Same Origin Policy" is forced on admin screens.
If you can't find the setting directly, then disable the plugins one-by-one, till the issue is resolved. Of-course, there is a plugin to disable plugins for you only (without affecting any other user): https://wordpress.org/plugins/health-check/
add a comment |
The browser is blocking the new frame due to an HTTP security header. There are few relevant security headers and you can get the details here:
https://www.dionach.com/blog/an-overview-of-http-security-headers
Most likely, that one of the WordPress security plugins is injecting this header.
In rare cases, the web server itself was configured to inject those headers.
I suggest to search through the settings of all active security plugins to find where the "Same Origin Policy" is forced on admin screens.
If you can't find the setting directly, then disable the plugins one-by-one, till the issue is resolved. Of-course, there is a plugin to disable plugins for you only (without affecting any other user): https://wordpress.org/plugins/health-check/
The browser is blocking the new frame due to an HTTP security header. There are few relevant security headers and you can get the details here:
https://www.dionach.com/blog/an-overview-of-http-security-headers
Most likely, that one of the WordPress security plugins is injecting this header.
In rare cases, the web server itself was configured to inject those headers.
I suggest to search through the settings of all active security plugins to find where the "Same Origin Policy" is forced on admin screens.
If you can't find the setting directly, then disable the plugins one-by-one, till the issue is resolved. Of-course, there is a plugin to disable plugins for you only (without affecting any other user): https://wordpress.org/plugins/health-check/
answered Nov 15 at 11:52
Yuval Papish
112
112
add a comment |
add a comment |
This issue can be from video iframe. Which can be in widget or anywhere you used. Did you added any video iframe from any channel which has any privacy or restriction.
If it's for particular plugin use case then please take a look around where you used or check plugin code or plugin issues if it has any issue then apply patch for that ?
add a comment |
This issue can be from video iframe. Which can be in widget or anywhere you used. Did you added any video iframe from any channel which has any privacy or restriction.
If it's for particular plugin use case then please take a look around where you used or check plugin code or plugin issues if it has any issue then apply patch for that ?
add a comment |
This issue can be from video iframe. Which can be in widget or anywhere you used. Did you added any video iframe from any channel which has any privacy or restriction.
If it's for particular plugin use case then please take a look around where you used or check plugin code or plugin issues if it has any issue then apply patch for that ?
This issue can be from video iframe. Which can be in widget or anywhere you used. Did you added any video iframe from any channel which has any privacy or restriction.
If it's for particular plugin use case then please take a look around where you used or check plugin code or plugin issues if it has any issue then apply patch for that ?
answered Nov 29 at 12:57
Sourabh Bhutani
995
995
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53255468%2fhow-to-solve-blocked-a-frame-with-origin-from-accessing-a-cross-origin-frame-err%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Probably a common issue. Would check questions on wordpress.stackexchange.com
– charlietfl
Nov 12 at 4:46
this is a browser issue instead of a wordpress issue per se, check your browser settings (possible duplicate stackoverflow.com/questions/25098021/…)
– Nikos M.
Nov 14 at 14:05
@NikosM. Hi, I had a look on the link but I am unable to find any concrete answer. I am going to open my wordpress website on different browser.
– john
Nov 14 at 15:22
blocking frame conent if it is from different origin is common to all browsers but can change with a browser setting, it is not a wordpress issue it is a browser securoty issue
– Nikos M.
Nov 14 at 17:00
Nikos M I am wondering what browser settings I need to change let say for example chrome. I am wondering what settings I need to change there in order to make it work.
– john
Nov 14 at 18:42