Skip to content

class 'MongoDB\Database' does not have a method 'getDoctrineDriver' #1785

Closed
@fbc

Description

@fbc

When I run:

php artisan ide-helper:models

I get this error on all my models:

Exception: call_user_func_array() expects parameter 1 to be a valid callback, class 'MongoDB\Database' does not have a method 'getDoctrineDriver'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions