小编Dan*_*eVT的帖子

MongoDB 3.6的AggregateCursor问题

我已将MongoDB更新为3.6版本.我在CentOS 7和PHP 5.5.38上使用PHP MongoClient.如果我运行MongoDB库的aggregateCursor方法,通过http://php.net/manual/en/mongocollection.aggregatecursor.php中报告的第一个示例,我获得以下错误消息,如下所示:

PHP Fatal error:  Uncaught exception 'MongoCursorException' with message '95.110.150.99:27017: the command cursor did not return a correctly structured response' 
Run Code Online (Sandbox Code Playgroud)

你对这种行为有什么看法吗?

php aggregate-functions mongodb

3
推荐指数
1
解决办法
861
查看次数

标签 统计

aggregate-functions ×1

mongodb ×1

php ×1