EXCEPTION: MongoDB\Driver\Exception\CommandException: BSON field 'skip' value must be >= 0, actual value '-10' in /srv/httpd/hepmdb.soton.ac.uk/htdocs/phenodata/vendor/mongodb/mongodb/src/Operation/Find.php:341
Stack trace:
#0 /srv/httpd/hepmdb.soton.ac.uk/htdocs/phenodata/vendor/mongodb/mongodb/src/Operation/Find.php(341): MongoDB\Driver\Server->executeQuery()
#1 /srv/httpd/hepmdb.soton.ac.uk/htdocs/phenodata/vendor/mongodb/mongodb/src/Collection.php(666): MongoDB\Operation\Find->execute()
#2 /srv/httpd/hepmdb.soton.ac.uk/htdocs/phenodata/vendor/alcaeus/mongo-php-adapter/lib/Mongo/MongoCursor.php(167): MongoDB\Collection->find()
#3 /srv/httpd/hepmdb.soton.ac.uk/htdocs/phenodata/vendor/alcaeus/mongo-php-adapter/lib/Mongo/MongoCursor.php(468): MongoCursor->doQuery()
#4 /srv/httpd/hepmdb.soton.ac.uk/htdocs/phenodata/vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/AbstractCursor.php(301): MongoCursor->ensureCursor()
#5 /srv/httpd/hepmdb.soton.ac.uk/htdocs/phenodata/vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/AbstractCursor.php(195): Alcaeus\MongoDbAdapter\AbstractCursor->ensureIterator()
#6 /srv/httpd/hepmdb.soton.ac.uk/htdocs/phenodata/papers.php(197): Alcaeus\MongoDbAdapter\AbstractCursor->rewind()
#7 {main}
Next MongoException: BSON field 'skip' value must be >= 0, actual value '-10' in /srv/httpd/hepmdb.soton.ac.uk/htdocs/phenodata/vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php:92
Stack trace:
#0 /srv/httpd/hepmdb.soton.ac.uk/htdocs/phenodata/vendor/alcaeus/mongo-php-adapter/lib/Mongo/MongoCursor.php(171): Alcaeus\MongoDbAdapter\ExceptionConverter::toLegacy()
#1 /srv/httpd/hepmdb.soton.ac.uk/htdocs/phenodata/vendor/alcaeus/mongo-php-adapter/lib/Mongo/MongoCursor.php(468): MongoCursor->doQuery()
#2 /srv/httpd/hepmdb.soton.ac.uk/htdocs/phenodata/vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/AbstractCursor.php(301): MongoCursor->ensureCursor()
#3 /srv/httpd/hepmdb.soton.ac.uk/htdocs/phenodata/vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/AbstractCursor.php(195): Alcaeus\MongoDbAdapter\AbstractCursor->ensureIterator()
#4 /srv/httpd/hepmdb.soton.ac.uk/htdocs/phenodata/papers.php(197): Alcaeus\MongoDbAdapter\AbstractCursor->rewind()
#5 {main}