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

Could not convert BSON document to a PHP variable #28

Open
aftabnaveed opened this issue Jul 27, 2016 · 0 comments
Open

Could not convert BSON document to a PHP variable #28

aftabnaveed opened this issue Jul 27, 2016 · 0 comments

Comments

@aftabnaveed
Copy link

When reading a collection of 250k products I get the following error, any idea why am I getting it?


Fatal error: Uncaught exception 'MongoDB\Driver\Exception\UnexpectedValueException' with message 'Could not convert BSON document to a PHP variable' in /srv/dd/www/app/code/community/Smile/MongoCatalog/Model/Resource/Override/Catalog/Product/Collection.php:153
Stack trace:
#0 /srv/dd/www/app/code/community/Smile/MongoCatalog/Model/Resource/Override/Catalog/Product/Collection.php(153): MongoDB\Driver\Cursor->next()
#1 /srv/dd/www/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php(874): Smile_MongoCatalog_Model_Resource_Override_Catalog_Product_Collection->_loadAttributes()
#2 /srv/dd/www/lib/Varien/Data/Collection.php(741): Mage_Eav_Model_Entity_Collection_Abstract->load()
#3 /srv/dd/www/shell/product-without-category.php(21): Varien_Data_Collection->getIterator()
#4 /srv/dd/www/shell/product-without-category.php(60): Mage_Shell_ProductWithoutCategory->run()
#5 {main}
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

1 participant