WordPress侧边栏Twitter嵌入组件随机报错:Cannot read properties of undefined (reading 'height')
WordPress侧边栏Twitter Publish嵌入随机故障
故障情况
- Twitter Publish嵌入功能随机失效,时好时坏
- 失效时嵌入区域显示文本:"There is a problem. Please try again later."
- 浏览器控制台抛出以下错误:
modules.c7def0268c66f6a548ed.js:1 TypeError: Cannot read properties of undefined (reading 'height') at 1.d77d8092171c9a9ccc4c.js:1:1055103 at ve (1.d77d8092171c9a9ccc4c.js:1:1055145) at oa (modules.c7def0268c66f6a548ed.js:1:230702) at ql (modules.c7def0268c66f6a548ed.js:1:283160) at Cu (modules.c7def0268c66f6a548ed.js:1:270334) at xu (modules.c7def0268c66f6a548ed.js:1:270262) at ku (modules.c7def0268c66f6a548ed.js:1:270125) at gu (modules.c7def0268c66f6a548ed.js:1:267091) at modules.c7def0268c66f6a548ed.js:1:216470 at GGKn.t.unstable_runWithPriority (modules.c7def0268c66f6a548ed.js:1:107996)
当前使用的嵌入代码
<a class="twitter-timeline" href="https://twitter.com/twitter" data-widget-id="644528552445128704" data-chrome="nofooter noborders transparent" width="100%" height="500">Twitter'da takip et!</a>
相关截图说明
- 错误提示:嵌入区域显示故障提示文本的界面
- 控制台错误:浏览器控制台输出上述类型错误的界面
- 正常运行状态:Twitter时间线嵌入正常加载展示的界面
内容的提问来源于stack exchange,提问作者akiinay
相关产品推荐
相关产品推荐

