Fatal error: Uncaught MongoDB\Driver\Exception\CommandException: BSON field 'count.0' is an unknown field. in /var/www/maysamarket/application/libraries/mongo_db.php:773 Stack trace: #0 /var/www/maysamarket/application/libraries/mongo_db.php(773): MongoDB\Driver\Manager->executeCommand('maysamarket', Object(MongoDB\Driver\Command)) #1 /var/www/maysamarket/application/models/content_db.php(95): Mongo_db->count('contents') #2 /var/www/maysamarket/application/controllers/categories.php(36): Content_db->count_data('contents', Array) #3 /var/www/maysamarket/application/core/RESTFUL_Controller.php(58): Categories->index('0', '208') #4 /var/www/maysamarket/system/core/CodeIgniter.php(325): RESTFUL_Controller->_remap('index', Array) #5 /var/www/maysamarket/index.php(209): require_once('/var/www/maysam...') #6 {main} thrown in /var/www/maysamarket/application/libraries/mongo_db.php on line 773