Skip to content

connection error when I use php artisan passport:install  #1512

Open
@hosseinjafari24

Description

@hosseinjafari24

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",

Activity

pacakman

pacakman commented on May 23, 2018

@pacakman

I have the problem same too. do you found the solution?

rakmaster

rakmaster commented on Sep 13, 2018

@rakmaster

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.

blueneel05

blueneel05 commented on Nov 6, 2018

@blueneel05

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..

blueneel05

blueneel05 commented on Nov 12, 2018

@blueneel05
sedrak1987

sedrak1987 commented on Jun 6, 2019

@sedrak1987

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.

aline-matos

aline-matos commented on Aug 9, 2019

@aline-matos

Thank you @sedrak1987 !
It worked with:
"laravel/framework": "^5.8.0",
"jenssegers/mongodb": "3.*",

deleted a comment from on May 23, 2021
deleted a comment from on May 23, 2021
locked as off topic and limited conversation to collaborators on May 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      connection error when I use` php artisan passport:install ` · Issue #1512 · mongodb/laravel-mongodb