laravel-mongodb
laravel-mongodb copied to clipboard
connection error when I use` php artisan passport:install `
In Connection.php line 452:
Call to a member function prepare() on null
"jenssegers/mongodb": "3.3.1", "laravel/framework": "5.5.*", "laravel/passport": "~4.0",
I have the problem same too. do you found the solution?
Same problem. In Connection.php line 452: Call to a member function prepare() on null
Seems like when you try to install passport using mongodb passport doesn't know what to do.
Many people had this issue some solved it by implementing jessenger auth in user.php. but issue still exist for some users. any body found some solution ? I have the same issue..
This solved my problem https://github.com/sadnub/laravel-mongodb-passport-fix
use my package for mongodb(based to Laravel passport, so you can use Passport doc) https://packagist.org/packages/sedrak/laravel-mongodb-passport remove larvel passport from composer and install this.
Thank you @sedrak1987 ! It worked with: "laravel/framework": "^5.8.0", "jenssegers/mongodb": "3.*",