Hey There
i got This error after start the swoole server in the command line with artisan
In ExceptionHandler.php line 58:
Uncaught TypeError: Argument 1 passed to NunoMaduro\Collision\Adapters\Laravel\ExceptionHandler::report() must be an instance of Exception, instance of TypeError gi
ven, called in /opt/lampp/htdocs/swoole/vendor/swooletw/laravel-swoole/src/Server/Manager.php on line 388 and defined in /opt/lampp/htdocs/swoole/vendor/nunomaduro/
collision/src/Adapters/Laravel/ExceptionHandler.php:58
Stack trace:
#0 /opt/lampp/htdocs/swoole/vendor/swooletw/laravel-swoole/src/Server/Manager.php(388): NunoMaduro\Collision\Adapters\Laravel\ExceptionHandler->report(Object(TypeEr
ror))
#1 /opt/lampp/htdocs/swoole/vendor/swooletw/laravel-swoole/src/Concerns/InteractsWithWebsocket.php(67): SwooleTW\Http\Server\Manager->logServerError(Object(TypeErro
r))
#2 {main}
thrown
php version 7.2.10
swoole version 4.2.3
laravel version 5.7
any solution please :(
Hi @senbai,
Thanks for your report, can you try the latest develop branch? It should be fixed in this commit: f3cb2f9f.
Hi @senbai,
Thanks for your report, can you try the latest develop branch? It should be fixed in this commit: f3cb2f9f.
Thank You @albertcht its work now