我从8月21号就发现了,一直在社区反馈,JS报错直接飙升,把广告注释了就好了,但是广告又是重要的收入来源。不过虽说报错,但是不影响使用
最近广告组件频繁报错2025/08/17-2025/08/17 · 全部 · 全部版本 错误人数:667 错误次数:1218 Cannot read properties of undefined (reading \'length\') TypeError: Cannot read properties of undefined (reading \'length\') at AC.<anonymous> (https://lib/WAAppAd.js:1:413186) at https://lib/WAAppAd.js:1:209187 at Bb (https://lib/WAAppAd.js:1:209006) at AC.upperBound (https://lib/WAAppAd.js:1:413144) at AC.<anonymous> (https://lib/WAAppAd.js:1:412958) at o (https://lib/WAAppAd.js:1:209045)
08-25我也碰到类似问题了,请你楼主是怎么解决的
调用插屏广告interstitialAd.show()的时候报错?调用插屏广告interstitialAd.show()的时候报错 getAdGlobalVar,猜测是这个方法报错 Uncaught (in promise) TypeError: Cannot read property 'length' of undefined at kP. (:1:409402) at Generator.next () at :1:205434 at new Promise () at FE (:1:205253) at kP.upperBound (:1:409360) at kP. (:1:409174) at Generator.next () at o (:1:205292)(env: macOS,mp,1.06.2503300; lib: 3.8.5) (anonymous) @ VM913:1 (anonymous) @ VM913:1 FE @ VM913:1 upperBound @ VM913:1 (anonymous) @ VM913:1 o @ VM913:1 Promise.then (async) l @ VM913:1 (anonymous) @ VM913:1 FE @ VM913:1 calcEmojiOverflow @ VM913:1 componentDidMount @ VM913:1 Pn @ VM913:1 nr @ VM913:1 e.unstable_runWithPriority @ VM913:1 Yt @ VM913:1 ar @ VM913:1 zo @ VM913:1 (anonymous) @ VM913:1 e.unstable_runWithPriority @ VM913:1 Yt @ VM913:1 Zt @ VM913:1 qt @ VM913:1 Bo @ VM913:1 a.updateContainer @ VM913:1 (anonymous) @ VM913:1 render @ VM913:1 (anonymous) @ VM913:1 (anonymous) @ VM913:1 FE @ VM913:1 render @ VM913:1 (anonymous) @ VM913:1 t @ VM913:1 l @ VM913:1 (anonymous) @ VM913:1 (anonymous) @ VM913:1 (anonymous) @ VM913:1 (anonymous) @ VM913:1 t @ VM913:1 l @ VM913:1 (anonymous) @ VM913:1 (anonymous) @ VM913:1 (anonymous) @ VM913:1 (anonymous) @ VM913:1 Promise.then (async) WU @ VM913:1 (anonymous) @ VM913:1 t @ VM913:1 l @ VM913:1 Promise.then (async) t @ VM913:1 l @ VM913:1 Promise.then (async) t @ VM913:1 l @ VM913:1 (anonymous) @ VM913:1 (anonymous) @ VM913:1 (anonymous) @ VM913:1 lF @ VM913:1 (anonymous) @ VM913:1 t @ VM913:1 l @ VM913:1 (anonymous) @ VM913:1 (anonymous) @ VM913:1 (anonymous) @ VM913:1 _F @ VM913:1 TF.o.handleAdTemplateEvent @ VM913:1 emit @ VM913:1 emitAdCustomEvent @ VM913:1 o @ VM913:1 doCommonAction @ VM913:1 handleAdCustomAction @ VM913:1 emit @ VM913:1 doActions @ VM913:1 EP.handleCommonClick @ VM913:1 (anonymous) @ VM913:1 (anonymous) @ VM913:1 Show 13 more frames
08-21我也碰到这个问题了,主要是skyline对于vantui的不适配造成的,你可以尝试着把vant组件一个一个去除掉,看看是否还复现,我当时是van-popup引入导致这个问题
小程序WAServiceMainContent.js这个报错怎么处理?[图片] 以下是小程序配置: [图片]
08-11