Laravel-debugbar: 0 passed to createDriver()

Created on 13 Mar 2018  路  3Comments  路  Source: barryvdh/laravel-debugbar

my laravel version: 5.5.39
i've tried different versions of this package, in each, i get this error:
Type error: Too few arguments to function Illuminate\Support\Manager::createDriver(), 0 passed in /var/www/html/vendor/laravel/framework/src/Illuminate/Support/Manager.php on line 88 and exactly 1 expected

stale

Most helpful comment

Try check your .env like default of laravel
MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null

And then restart artisan serve.

All 3 comments

Try check your .env like default of laravel
MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null

And then restart artisan serve.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If this issue is still present on the latest version of this library on supported Laravel versions, please let us know by replying to this issue so we can investigate further.
Thank you for your contribution! Apologies for any delayed response on our side.

The error persists. This is happening in my local environment running with docker. It appears all of a sudden running on Laravel 5.5.50

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Thijmen picture Thijmen  路  6Comments

lucasdcrk picture lucasdcrk  路  3Comments

Megachill picture Megachill  路  3Comments

knvpk picture knvpk  路  5Comments

MRZ2017 picture MRZ2017  路  3Comments