Internal Server Error

Fatal error: Call to undefined method MongoCollection::updateOne()

#0 /var/www/hipsearch/routes/search.php:220