收藏
回答

基础库 3.5.6开始报大量js错误,安卓、skyline

框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
小程序 Bug wx.requestPayment 微信安卓客户端 8.0.51 3.5.6

安卓、skyline引擎,0828开始出现大量错误

现象:1、安卓手机,微信8.0.51版本,使用普通二维码调起小程序进入指定页面,调用wx.requestPayment无回调,并报下面错误

通过小程序码/链接进入可以正常收到wx.requestPayment回调,该页面切换为webview渲染,可以正常收到回调

2、ios手机,8.0.53版本,普通二维码调起或者小程序码调起,均可以正常收到wx.requestPayment回调,skyline和webview均无问题

[system] Error: nextMicroTaskCallback occur fatal error:  {type: "string", description: "[system] Error: nextMicroTaskCallback occur fatal error: ", value: "[system] Error: nextMicroTaskCallback occur fatal error: "} TypeError: Cannot read properties of undefined (reading 'replace') {type: "object", description: "TypeError: Cannot read properties of undefined (reading 'replace')", objectId: "15", className: "TypeError", subtype: "error", preview: {type: "object", description: "TypeError: Cannot read properties of undefined (reading 'replace')", properties: [], overflow: true, subtype: "error"}


(in promise) SystemError (appSubContextSDKScriptError)

Cannot read properties of undefined (reading 'replace')

TypeError: Cannot read properties of undefined (reading 'replace')

at (WAServiceMainContext.js:1:2007355)

at (WAServiceMainContext.js:1:792535)

at Object.cb (WAServiceMainContext.js:1:659611)

at H._privEmit (WAServiceMainContext.js:1:104726)

at H.emit (WAServiceMainContext.js:1:105016)

at Object.cb (WAServiceMainContext.js:1:659721)

at H._privEmit (WAServiceMainContext.js:1:104726)

at H.emit (WAServiceMainContext.js:1:105016)

at T.__onMsgCallback (WAServiceMainContext.js:1:2436057)

at T.__onMessageHandler (WAServiceMainContext.js:1:2409965) {type: "string", description: "(in promise) SystemError (appSubContextSDKScriptError)\nCannot read properties of undefined (reading 'replace')\nTypeError: Cannot read properties of undefined (reading 'replace')\nat (WAServiceMainContext.js:1:2007355)\nat (WAServiceMainContext.js:1:792535)\nat Object.cb (WAServiceMainContext.js:1:659611)\nat H._privEmit (WAServiceMainContext.js:1:104726)\nat H.emit (WAServiceMainContext.js:1:105016)\nat Object.cb (WAServiceMainContext.js:1:659721)\nat H._privEmit (WAServiceMainContext.js:1:104726)\nat H.emit (WAServiceMainContext.js:1:105016)\nat T.__onMsgCallback (WAServiceMainContext.js:1:2436057)\nat T.__onMessageHandler (WAServiceMainContext.js:1:2409965)", value: "(in promise) SystemError (appSubContextSDKScriptError)\nCannot read properties of undefined (reading 'replace')\nTypeError: Cannot read properties of undefined (reading 'replace')\nat (WAServiceMainContext.js:1:2007355)\nat (WAServiceMainContext.js:1:792535)\nat Object.cb (WAServiceMainContext.js:1:659611)\nat H._privEmit (WAServiceMainContext.js:1:104726)\nat H.emit (WAServiceMainContext.js:1:105016)\nat Object.cb (WAServiceMainContext.js:1:659721)\nat H._privEmit (WAServiceMainContext.js:1:104726)\nat H.emit (WAServiceMainContext.js:1:105016)\nat T.__onMsgCallback (WAServiceMainContext.js:1:2436057)\nat T.__onMessageHandler (WAServiceMainContext.js:1:2409965)"}

回答关注问题邀请回答
收藏

1 个回答

  • 社区技术运营专员--许涛
    社区技术运营专员--许涛
    10-15

    你好,提供下appid和线上的复现步骤

    10-15
    有用
    回复 6
    • Ashmita
      Ashmita
      10-15
      appid wx13d0a5672263e830 。安卓手机,通过普通二维码调起小程序(非小程序码)进入指定页面(非小程序首页,与小程序默认页面不一致),调用wx.requestPayment(需要前置在后端创建支付订单)
      10-15
      回复
    • Ashmita
      Ashmita
      10-15
      线上微信扫描https://wisdomguide.cn/s?e=20918生成的二维码,不过目前暂时把普通二维码调起取消了
      10-15
      回复
    • 社区技术运营专员--许涛
      社区技术运营专员--许涛
      10-16回复Ashmita
      问题已知,我们后续修复
      10-16
      回复
    • cccci
      cccci
      10-18回复社区技术运营专员--许涛
      具体的微信版本和基础库版本有范围吗,目前测试发现安卓微信版本 8.0.51,最新的基础库版本3.6.2 也会出现无法唤起微信支付的问题。
      10-18
      回复
    • 社区技术运营专员--许涛
      社区技术运营专员--许涛
      10-18回复cccci
      3.6.4
      10-18
      回复
    查看更多(1)
登录 后发表内容