// app.json
"live-player-plugin": {
"version": "1.1.1",
"provider": "wx2b03c6e691cd7370"
}
// app.js
let livePlayer = requirePlugin('live-player-plugin')
livePlayer.getShareParams()
.then(res => {
// 此处仅处理
}).catch(err => {
console.log('get share params', err);
})
以上是简单代码及插件版本号, 错误小程序版本: 全版本
// 1.
Cannot read property 'bottom' of null
// 2.
Cannot read property 'bottom' of null;at SelectorQuery callback function
// 3.
null is not an object (evaluating 't.bottom')
https://res.servicewechat.com/weapp/release/wx1c91e15ebd6963f2/254/package/__plugin__/wx2b03c6e691cd7370/appservice.js:4087:719
https://lib/WASubContext.js:2:1067672
https://lib/WASubContext.js:2:111745
https://lib/WASubContext.js:2:1067959
r@https://lib/WASubContext.js:2:1067938
https://lib/WASubContext.js:2:1068086
https://lib/WASubContext.js:2:1772589
r@https://lib/WASubContext.js:2:1712330
https://lib/WASubContext.js:2:1712518
https://lib/WASubContext.js:2:778954
https://lib/WAServiceMainContext.js:2:251579
_@https://lib/WAServiceMainContext.js:2:78181
// 4.
Cannot read property 'bottom' of null;at SelectorQuery callback function
TypeError: Cannot read property 'bottom' of null
at n.<anonymous> (https://usr//package/app-service.js:4088:720)
at Function.<anonymous> (https://lib/WASubContext.js:1:1005077)
at https://lib/WASubContext.js:1:1005360
at r (https://lib/WASubContext.js:1:1005333)
at https://lib/WASubContext.js:1:1006751
at https://lib/WASubContext.js:1:1369487
at https://lib/WASubContext.js:1:1369460
at r (https://lib/WASubContext.js:1:1315363)
谢邀:
如果不影响使用,报错就忽略吧。
我使用过程中也会出现各种报错现象,没去细挖是什么原因报错,但是可以肯定是直播插件报的错。我当他透明的。
我们也是更新了这个版本的插件之后,小程序报警群一直报警
我使用live-player-plugin也碰到 'bottom' of null 这样的错误,但不确定是插件引起的