Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Class 'Mongo' not found #4

Closed
kawaiidesune opened this issue Aug 16, 2016 · 2 comments
Closed

Error: Class 'Mongo' not found #4

kawaiidesune opened this issue Aug 16, 2016 · 2 comments

Comments

@kawaiidesune
Copy link
Contributor

So, when I went to implement this plugin, I got this error message in CakePHP...

Error: Class 'Mongo' not found 
File /var/www/llamacast/vendor/hayko/mongodb/src/Database/Connection.php 
Line: 112

I find it peculiar because on line 112 of /src/Database/Connection.php, it is a new instance of Mongodb being instantiated, not "Mongo". 😖

@tiaguinho
Copy link
Owner

which version of mongo drive do you use?

@shraddhabanerjee
Copy link

Hi @tiaguinho,

I am getting the following error

Class '\MongoDB' not found Error
Documentation API
Error in: ROOT/vendor/hayko/mongodb/src/Database/Driver/Mongodb.php, line 152

If you want to customize this error message, create src/Template/Error/error500.ctp
toggle vendor stack frames

⟩ Hayko\Mongodb\Database\Driver\Mongodb->connect ROOT/vendor/hayko/mongodb/src/Database/Connection.php, line 126

MongoDB shell version: 3.2.15
CakePHP 3

Kindly request you yo help in this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants