Call to a member function prepare() on null Laravel 9, PHP 8 with MongoDB connection #78
Unanswered
sts-ryan-holton
asked this question in
Q&A
Replies: 1 comment
-
We don't support Mongo. If this is easily fixed, I'd accept a PR. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've just installed version 3.0.3 of this package into a reasonable fresh Laravel 9 application running on PHP 8.0, I'm using MongoDB as my database and have set up my connection to my database using the laravel-mongodb integration.
My database works and can save and retrieve data to it as I have a few other models set up, it's worth noting that I had to change the
$table
references to$collection
in your database migrations that I've migrated into my project as this is what's needed for this integration.Now, when I run
php artisan schedule-monitor:sync
I get an error thrown:What might this mean?
Beta Was this translation helpful? Give feedback.
All reactions