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
The error is shown when you try to use
php artisan serve
PHP Fatal error: Uncaught Error: Named parameter $api overwrites previous argument in D:\laravel_11\pos_system\bootstrap\app.php:11
Stack trace:
#0 D:\laravel_11\pos_system\artisan(12): require_once() #1 {main}
thrown in D:\laravel_11\pos_system\bootstrap\app.php on line 11
This error happens if you used "php artisan install:api --passport " multiple times
To resolve this issues just go to bootstrap\app.php and remove duplicated line
api: DIR.'/../routes/api.php',
Steps To Reproduce
The error is shown when you try to use
php artisan serve
PHP Fatal error: Uncaught Error: Named parameter $api overwrites previous argument in D:\laravel_11\pos_system\bootstrap\app.php:11
Stack trace:
#0 D:\laravel_11\pos_system\artisan(12): require_once() #1 {main}
thrown in D:\laravel_11\pos_system\bootstrap\app.php on line 11
This error happens if you used "php artisan install:api --passport " multiple times
To resolve this issues just go to bootstrap\app.php and remove duplicated line
api: DIR.'/../routes/api.php',
The text was updated successfully, but these errors were encountered:
@adedejiibrahim7
This error happens if you use "php artisan install:api --passport " multiple times
To resolve this issue just go to bootstrap\app.php and remove the duplicated line
api: DIR.'/../routes/api.php',
@adedejiibrahim7 This error happens if you use "php artisan install:api --passport " multiple times To resolve this issue just go to bootstrap\app.php and remove the duplicated line api: DIR.'/../routes/api.php',
Laravel Version
11
PHP Version
8.2
Database Driver & Version
No response
Description
The error is shown when you try to use
php artisan serve
PHP Fatal error: Uncaught Error: Named parameter $api overwrites previous argument in D:\laravel_11\pos_system\bootstrap\app.php:11
Stack trace:
#0 D:\laravel_11\pos_system\artisan(12): require_once()
#1 {main}
thrown in D:\laravel_11\pos_system\bootstrap\app.php on line 11
This error happens if you used "php artisan install:api --passport " multiple times
To resolve this issues just go to bootstrap\app.php and remove duplicated line
api: DIR.'/../routes/api.php',
Steps To Reproduce
The error is shown when you try to use
php artisan serve
PHP Fatal error: Uncaught Error: Named parameter $api overwrites previous argument in D:\laravel_11\pos_system\bootstrap\app.php:11
Stack trace:
#0 D:\laravel_11\pos_system\artisan(12): require_once()
#1 {main}
thrown in D:\laravel_11\pos_system\bootstrap\app.php on line 11
This error happens if you used "php artisan install:api --passport " multiple times
To resolve this issues just go to bootstrap\app.php and remove duplicated line
api: DIR.'/../routes/api.php',
The text was updated successfully, but these errors were encountered: