Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Token issues under laravel-swoole #2033 (Class 'Symfony\Component\Debug\Exception\FatalThrowableError' not found in /var/www/html/lumen-JWT-SWOOLE/lumen/vendor/swooletw/laravel-swoole/src/Server/Manager.php:414) #2081

Closed
brijesh1997 opened this issue Dec 25, 2020 · 0 comments

Comments

@brijesh1997
Copy link

brijesh1997 commented Dec 25, 2020

Fixed by setting these in config/swoole_http.php:

'instances' => [
    'auth',
],
'providers' => [
    Illuminate\Pagination\PaginationServiceProvider::class,
    App\Providers\AuthServiceProvider::class,
    Tymon\JWTAuth\Providers\LaravelServiceProvider::class,
],

Hello @alecpl ,

I added this in my swoole_http.php file but I fetch below fatal error please check below screenshot and tell me what I need to do for that.

https://prnt.sc/w9j5tr

PHP Fatal error:  Uncaught Error: Class 'Symfony\Component\Debug\Exception\FatalThrowableError' not found in /var/www/html/lumen-JWT-SWOOLE/lumen/vendor/swooletw/laravel-swoole/src/Server/Manager.php:414
Stack trace:
#0 /var/www/html/lumen-JWT-SWOOLE/lumen/vendor/swooletw/laravel-swoole/src/Server/Manager.php(398): SwooleTW\Http\Server\Manager->normalizeException()
#1 /var/www/html/lumen-JWT-SWOOLE/lumen/vendor/swooletw/laravel-swoole/src/Server/Manager.php(239): SwooleTW\Http\Server\Manager->logServerError()
#2 {main}
  thrown in /var/www/html/lumen-JWT-SWOOLE/lumen/vendor/swooletw/laravel-swoole/src/Server/Manager.php on line 414
@brijesh1997 brijesh1997 changed the title Token issues under laravel-swoole #2033 Token issues under laravel-swoole #2033 (Class 'Symfony\Component\Debug\Exception\FatalThrowableError' not found in /var/www/html/lumen-JWT-SWOOLE/lumen/vendor/swooletw/laravel-swoole/src/Server/Manager.php:414) Dec 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant