我们正在使用Laravel Excel软件包并在队列上(在Supervisor上)运行它。有时效果完美,有时我得到
Call to undefined function App\Imports\ isset() error
在失败的作业表上。和想法?
您在i̇
上使用了土耳其字符i̇sset
,将其替换为isset
将解决您的问题:
var_dump(mb_strtoupper('i̇sset')); //Your turkish i̇sset: string(7) "İSSET"
var_dump(mb_strtoupper('isset')); //Correct isset: string(5) "ISSET"
尝试\isset()
而不是isset()