How to solve Blocked a frame with origin from accessing a cross origin frame error in wordpress?












5














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:



enter image description here



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.


enter image description here






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.










share|improve this question




















  • 1




    Probably a common issue. Would check questions on wordpress.stackexchange.com
    – charlietfl
    Nov 12 '18 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 '18 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 '18 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 '18 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 '18 at 18:42
















5














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:



enter image description here



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.


enter image description here






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.










share|improve this question




















  • 1




    Probably a common issue. Would check questions on wordpress.stackexchange.com
    – charlietfl
    Nov 12 '18 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 '18 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 '18 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 '18 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 '18 at 18:42














5












5








5







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:



enter image description here



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.


enter image description here






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.










share|improve this question















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:



enter image description here



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.


enter image description here






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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 14 '18 at 3:05

























asked Nov 12 '18 at 3:04









john

1,8821667150




1,8821667150








  • 1




    Probably a common issue. Would check questions on wordpress.stackexchange.com
    – charlietfl
    Nov 12 '18 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 '18 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 '18 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 '18 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 '18 at 18:42














  • 1




    Probably a common issue. Would check questions on wordpress.stackexchange.com
    – charlietfl
    Nov 12 '18 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 '18 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 '18 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 '18 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 '18 at 18:42








1




1




Probably a common issue. Would check questions on wordpress.stackexchange.com
– charlietfl
Nov 12 '18 at 4:46




Probably a common issue. Would check questions on wordpress.stackexchange.com
– charlietfl
Nov 12 '18 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 '18 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 '18 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 '18 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 '18 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 '18 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 '18 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 '18 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 '18 at 18:42












2 Answers
2






active

oldest

votes


















0














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/






share|improve this answer





























    0














    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 ?






    share|improve this answer





















      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
      });


      }
      });














      draft saved

      draft discarded


















      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









      0














      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/






      share|improve this answer


























        0














        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/






        share|improve this answer
























          0












          0








          0






          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/






          share|improve this answer












          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/







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 15 '18 at 11:52









          Yuval Papish

          112




          112

























              0














              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 ?






              share|improve this answer


























                0














                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 ?






                share|improve this answer
























                  0












                  0








                  0






                  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 ?






                  share|improve this answer












                  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 ?







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Nov 29 '18 at 12:57









                  Sourabh Bhutani

                  15915




                  15915






























                      draft saved

                      draft discarded




















































                      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.




                      draft saved


                      draft discarded














                      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





















































                      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







                      Popular posts from this blog

                      Full-time equivalent

                      さくらももこ

                      13 indicted, 8 arrested in Calif. drug cartel investigation