Smile-SA / mongogento

98 stars 49 forks source link

Could not convert BSON document to a PHP variable #28

Open aftabnaveed opened 8 years ago

aftabnaveed commented 8 years ago

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}