331280 2021-04-05 11:18 采纳率: 100%
浏览 165
已采纳

求助:Fatal error: Call to undefined function 错误

 Fatal error: Call to undefined functionapp\common\exception\config()

30            if (config('app_debug')) {

怎么解决?

  • 写回答

1条回答 默认 最新

  • 張公㜽 2021-04-06 12:22
    关注

    Call to undefined function : 调用了未定义的函数。

    1. config函数没有定义。

    2. 没有声明config()这个函数。(没有包含对应头文件)

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?