Laravel/Lumen: Method Illuminate\View\View::__toString() must not throw an exception

混江龙づ霸主 提交于 2021-01-29 17:00:38

问题


so recently, one of my higher-up coworkers stopped working at my job. Due to this, I'm left with some of his responsibilities. Our server is used by one university over here, so to make requests (i. e. a student pays one of his monthly payments) we use a SOAP service to do stuff (https://api.uregional.net/zoap/uregional/server). As you can see, the site displays a "Whoops, looks like something went wrong." message when it's loaded.

Going into the server logs, I get this error a lot of times. Method Illuminate\View\View::__toString() must not throw an exception. I'm not sure what's causing this, since it used to work just fine until some days ago. The full log file can be read here: https://pastebin.com/EQR5i9sK

Also, from what I can gather, the code for the SOAP server based on Laravel is this one: https://github.com/viewflex/zoap. I don't know much about how it works, so that's why I'm asking. Not sure why that error is popping up now, since as I mentioned, everything used to work just fine some days ago. I've tried to follow some of the stuff from other threads over here, but I feel this is a bit more specific than the situations in other threads.

EDIT: Forgot to add, but the PHP version that the environment is running is 7.2.

来源:https://stackoverflow.com/questions/62517490/laravel-lumen-method-illuminate-view-view-tostring-must-not-throw-an-excep

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!