如何解决阻止具有原点的帧来访问wordpress中的跨源帧错误? [英] How to solve Blocked a frame with origin from accessing a cross origin frame error in wordpress?

查看:93
本文介绍了如何解决阻止具有原点的帧来访问wordpress中的跨源帧错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在一个WordPress网站上工作,其中安装了很多wordpress插件。

I am working on a WordPress website in which there are a lot of wordpress plugins installed.

wordpress网站上安装的插件有以下选项:

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. 


问题陈述:

我是想知道我需要在wordpress中修改哪个文件才能解决这个错误。这个错误似乎存在于每个wordpress插件中。它适用于新的选项卡或窗口,但无法在同一页面中工作。

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.

推荐答案

此问题可以来自视频iframe。这可以是小部件或您使用的任何地方。您是否从任何具有隐私或限制的频道添加了任何视频iframe。

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 ?

这篇关于如何解决阻止具有原点的帧来访问wordpress中的跨源帧错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆