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

Fatal error: MongoInt32 class not found #31

Open
satishsojitra opened this issue Sep 9, 2016 · 2 comments
Open

Fatal error: MongoInt32 class not found #31

satishsojitra opened this issue Sep 9, 2016 · 2 comments

Comments

@satishsojitra
Copy link

I am getting following fatal error:

Fatal error: Class 'MongoInt32' not found in app\code\community\Smile\MongoCatalog\Model\Resource\Override\Catalog\Product\Collection.php on line 142

What can be the issue?

@southerncomputer
Copy link

southerncomputer commented Sep 21, 2016

This is because the mongoDB driver you are using is Newer than supported!, this class is not php7 compatible! There has been work to port it to php7 from someone here! It is not official..

MongoInt32 This extension that defines this class is deprecated. Instead, the MongoDB extension should be used. There is no equivalent for this class in the new extension.

@romainruaud
Copy link
Contributor

Hello @satishsojitra , @southerncomputer is right, the module is untested against PHP 7 and we dot not plan to maintain such a feature.

The fork by @jdchmiel here added php7 compatibility : https://github.com/jdchmiel/mongogento/commits/master

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