You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uncaught Error: Call to a member function run() on bool in ....../public/index.php
对应的代码是
$application = new Yaf\Application(APPLICATION_PATH . "/application.ini", 'product');
$application->bootstrap()->run();
自从升级到3.3.4+以后好像这个问题就出现了, 这不是必然发现的问题,偶尔会出现这个问题, 重新请求 一次又好了,但是时不时又冒出这个问题来 :
Uncaught Error: Call to a member function run() on bool in ....../public/index.php
对应的代码是
$application = new Yaf\Application(APPLICATION_PATH . "/application.ini", 'product');
$application->bootstrap()->run();
意思是$application->bootstrap()返回了一个布尔值??
对了,php环境是8.0+, LNMP ; 以前用7.4没有这个问题,就是大一点的请求直接502错误!
同样出现的偶发问题是:
找不到文件vendor/autoload.php 这个错误没得截图 , 因为也是偶发性的 , 重新请求一次又好了; 这种现象有段时间特别频繁 , 完全不知道问题出现在哪里,重启服务器就好点了 , 感觉是个不定时炸弹
The text was updated successfully, but these errors were encountered: