使用 tp5 php think命令执行定时任务报错 Fatal error: Call to undefined function think\exc
首席干饭王 2020-09-17 12:06:42 有大佬知道啥原因吗?
[think\exception\ThrowableError]
Fatal error: Call to undefined function think\exception\config()
Exception trace:
() at D:\phpstudy_pro\WWW\loan.malaysiaidc.com\thinkphp\library\think\exception\ErrorException.php:40
think\exception\ErrorException->__construct() at D:\phpstudy_pro\WWW\loan.malaysiaidc.com\thinkphp\library\think\Error.
php:68
think\Error::appError() at D:\phpstudy_pro\WWW\loan.malaysiaidc.com\application\extra\mongo.php:10
include() at D:\phpstudy_pro\WWW\loan.malaysiaidc.com\thinkphp\library\think\Config.php:80
think\Config::load() at D:\phpstudy_pro\WWW\loan.malaysiaidc.com\thinkphp\library\think\App.php:262
think\App::init() at D:\phpstudy_pro\WWW\loan.malaysiaidc.com\thinkphp\library\think\App.php:182
think\App::initCommon() at D:\phpstudy_pro\WWW\loan.malaysiaidc.com\thinkphp\console.php:19