收藏
回答

这个问题我搞了两天了,过去了,求大神吧?

orderDetail.js? [sm]:61 订单加载失败: Error: errCode: -502003 database permission denied | errMsg: Permission denied 请前往云开发AI小助手查看问题:https://tcb.cloud.tencent.com/dev#/helper/copilot?q=DATABASE_PERMISSION_DENIED

    at new C (<anonymous>:1:256078)

    at success (<anonymous>:1:268452)

    at Function.success (WAServiceMainContext.js?t=wechat&v=3.8.9:1)

    at p (WAServiceMainContext.js?t=wechat&v=3.8.9:1)

    at Object.success (WAServiceMainContext.js?t=wechat&v=3.8.9:1)

    at i (WAServiceMainContext.js?t=wechat&v=3.8.9:1)

    at Hd (WAServiceMainContext.js?t=wechat&v=3.8.9:1)

    at Yd (WAServiceMainContext.js?t=wechat&v=3.8.9:1)

    at WAServiceMainContext.js?t=wechat&v=3.8.9:1

    at r (WAServiceMainContext.js?t=wechat&v=3.8.9:1)(env: Windows,mp,1.06.2504010; lib: 3.8.9)

(anonymous) @ orderDetail.js? [sm]:61

Promise.catch (async)

onLoad @ orderDetail.js? [sm]:60

orderDetail.js? [sm]:62 当前用户openid: ocHkK7nom2AK501NYLvb9aYwKlcc(env: Windows,mp,1.06.2504010; lib: 3.8.9)

(anonymous) @ orderDetail.js? [sm]:62

Promise.catch (async)

onLoad @ orderDetail.js? [sm]:60

orderDetail.js? [sm]:63 错误详情: {"errCode":-502003,"errMsg":"Permission denied 请前往云开发AI小助手查看问题:https://tcb.cloud.tencent.com/dev#/helper/copilot?q=DATABASE_PERMISSION_DENIED"}(env: Windows,mp,1.06.2504010; lib: 3.8.9)

(anonymous) @ orderDetail.js? [sm]:63

Promise.catch (async)

onLoad @ orderDetail.js? [sm]:60

orderDetail.js? [sm]:64 订单ID: 486be3ad68731ada052b30bd588e748a

orderDetail.js? [sm]:37 云函数调用失败: Error: cloud.callFunction:fail Error: errCode: -501000  | errMsg: FunctionName parameter could not be found. 请前往云开发AI小助手查看问题:https://tcb.cloud.tencent.com/dev#/helper/copilot?q=FUNCTION_NOT_FOUND (callId: 1752466160592-0.19760184736015085) (trace: 12:9:20 start->12:9:20 system error (Error: errCode: -501000  | errMsg: FunctionName parameter could not be found. 请前往云开发AI小助手查看问题:https://tcb.cloud.tencent.com/dev#/helper/copilot?q=FUNCTION_NOT_FOUND), abort)

    at O (<anonymous>:1:256755)

    at <anonymous>:1:293263(env: Windows,mp,1.06.2504010; lib: 3.8.9)

(anonymous) @ orderDetail.js? [sm]:37

Promise.catch (async)

onLoad @ orderDetail.js? [sm]:36

orderDetail.js? [sm]:38 错误代码: -1(env: Windows,mp,1.06.2504010; lib: 3.8.9)

(anonymous) @ orderDetail.js? [sm]:38

Promise.catch (async)

onLoad @ orderDetail.js? [sm]:36

orderDetail.js? [sm]:39 错误消息: cloud.callFunction:fail Error: errCode: -501000  | errMsg: FunctionName parameter could not be found. 请前往云开发AI小助手查看问题:https://tcb.cloud.tencent.com/dev#/helper/copilot?q=FUNCTION_NOT_FOUND (callId: 1752466160592-0.19760184736015085) (trace: 12:9:20 start->12:9:20 system error (Error: errCode: -501000  | errMsg: FunctionName parameter could not be found. 请前往云开发AI小助手查看问题:https://tcb.cloud.tencent.com/dev#/helper/copilot?q=FUNCTION_NOT_FOUND), abort)(env: Windows,mp,1.06.2504010; lib: 3.8.9)

(anonymous) @ orderDetail.js? [sm]:39

Promise.catch (async)

onLoad @ orderDetail.js? [sm]:36

orderDetail.js? [sm]:40 错误详情: {"errCode":-1,"errMsg":"cloud.callFunction:fail Error: errCode: -501000  | errMsg: FunctionName parameter could not be found. 请前往云开发AI小助手查看问题:https://tcb.cloud.tencent.com/dev#/helper/copilot?q=FUNCTION_NOT_FOUND (callId: 1752466160592-0.19760184736015085) (trace: 12:9:20 start->12:9:20 system error (Error: errCode: -501000  | errMsg: FunctionName parameter could not be found. 请前往云开发AI小助手查看问题:https://tcb.cloud.tencent.com/dev#/helper/copilot?q=FUNCTION_NOT_FOUND), abort)"}(env: Windows,mp,1.06.2504010; lib: 3.8.9)

(anonymous) @ orderDetail.js? [sm]:40

Promise.catch (async)

onLoad @ orderDetail.js? [sm]:36

TypeError: Cannot read property 'tracking' of null

    at li.onTrackingClick (orderDetail.js? [sm]:97)

    at Object.o.safeCallback (VM2789 WASubContext.js:1)

    at VM2789 WASubContext.js:1

    at wn (VM2789 WASubContext.js:1)

    at VM2789 WASubContext.js:1

    at pe (VM2789 WASubContext.js:1)

    at de (VM2789 WASubContext.js:1)

    at VM2789 WASubContext.js:1

    at WAServiceMainContext.js?t=wechat&v=3.8.9:1

    at WAServiceMainContext.js?t=wechat&v=3.8.9:1(env: Windows,mp,1.06.2504010; lib: 3.8.9)

errorHandler.js? [sm]:15 Error in Global: MiniProgramError

Cannot read property 'tracking' of null

TypeError: Cannot read property 'tracking' of null

)

)

    at http://127.0.0.1:55138/appservice/__dev__/WASubContext.js?t=wechat&v=3.8.9:1:397326

)

    at http://127.0.0.1:55138/appservice/__dev__/WASubContext.js?t=wechat&v=3.8.9:1:397241

)

)

    at http://127.0.0.1:55138/appservice/__dev__/WASubContext.js?t=wechat&v=3.8.9:1:287026

    at http://127.0.0.1:55138/appservice/__dev__/WAServiceMainContext.js?t=wechat&v=3.8.9:1:720346

    at http://127.0.0.1:55138/appservice/__dev__/WAServiceMainContext.js?t=wechat&v=3.8.9:1:108114(env: Windows,mp,1.06.2504010; lib: 3.8.9)

handleError @ errorHandler.js? [sm]:15

(anonymous) @ errorHandler.js? [sm]:100

wx.getSystemInfoSync is deprecated.Please use wx.getSystemSetting/wx.getAppAuthorizeSetting/wx.getDeviceInfo/wx.getWindowInfo/wx.getAppBaseInfo instead.

logError @ errorHandler.js? [sm]:79

handleError @ errorHandler.js? [sm]:40

(anonymous) @ errorHandler.js? [sm]:100

errorHandler.js? [sm]:83 Error Log: {type: "UNKNOWN_ERROR", message: undefined, stack: undefined, context: "Global", timestamp: "2025-07-14T04:09:23.979Z", …}

TypeError: Cannot read property 'tracking' of null

    at li.onTrackingClick (orderDetail.js? [sm]:97)

    at Object.o.safeCallback (VM2789 WASubContext.js:1)

    at VM2789 WASubContext.js:1

    at wn (VM2789 WASubContext.js:1)

    at VM2789 WASubContext.js:1

    at pe (VM2789 WASubContext.js:1)

    at de (VM2789 WASubContext.js:1)

    at VM2789 WASubContext.js:1

    at WAServiceMainContext.js?t=wechat&v=3.8.9:1

    at WAServiceMainContext.js?t=wechat&v=3.8.9:1(env: Windows,mp,1.06.2504010; lib: 3.8.9)

errorHandler.js? [sm]:15 Error in Global: MiniProgramError

Cannot read property 'tracking' of null

TypeError: Cannot read property 'tracking' of null

)

)

    at http://127.0.0.1:55138/appservice/__dev__/WASubContext.js?t=wechat&v=3.8.9:1:397326

)

    at http://127.0.0.1:55138/appservice/__dev__/WASubContext.js?t=wechat&v=3.8.9:1:397241

)

)

    at http://127.0.0.1:55138/appservice/__dev__/WASubContext.js?t=wechat&v=3.8.9:1:287026

    at http://127.0.0.1:55138/appservice/__dev__/WAServiceMainContext.js?t=wechat&v=3.8.9:1:720346

    at http://127.0.0.1:55138/appservice/__dev__/WAServiceMainContext.js?t=wechat&v=3.8.9:1:108114(env: Windows,mp,1.06.2504010; lib: 3.8.9)

handleError @ errorHandler.js? [sm]:15

(anonymous) @ errorHandler.js? [sm]:100

wx.getSystemInfoSync is deprecated.Please use wx.getSystemSetting/wx.getAppAuthorizeSetting/wx.getDeviceInfo/wx.getWindowInfo/wx.getAppBaseInfo instead.

logError @ errorHandler.js? [sm]:79

handleError @ errorHandler.js? [sm]:40

(anonymous) @ errorHandler.js? [sm]:100

errorHandler.js? [sm]:83 Error Log: {type: "UNKNOWN_ERROR", message: undefined, stack: undefined, context: "Global", timestamp: "2025-07-14T04:09:26.493Z", …}

[worker] reportRealtimeAction:fail not support

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

1 个回答

  • showms
    showms
    星期一 13:43

    1、FunctionName parameter could not be found

    看下云环境id是否正确、是否有传云函数名称参数、云函数是否有部署


    2、wx.getSystemInfoSync is deprecated

    api已废弃,更换成wx.getSystemSetting/wx.getAppAuthorizeSetting/wx.getDeviceInfo/wx.getWindowInfo/wx.getAppBaseInfo

    星期一 13:43
    有用
    回复
登录 后发表内容