Fatal error: Uncaught Error: Call to a member function findOne() on null in /var/src/core/data/mongo.php:117 Stack trace: #0 /var/src/core/ModBase.php(130): mongo_db->getRow(Array) #1 /var/src/core/ModBase.php(21): Base->setData('haha') #2 /var/src/flashgame/app/mod/index.php(14): Base->__construct('haha') #3 /var/src/core/core.php(127): indexMod->__construct() #4 /var/src/core/core.php(260): Mod('index') #5 /var/src/core/core.php(302): Core::Execute('index', 'run') #6 /var/src/flashgame/index.php(15): Core::run() #7 {main} Next Error: Call to undefined method MongoDB\Driver\Manager::close() in /var/src/core/data/mongo.php:95 Stack trace: #0 /var/src/core/data/mongo.php(63): mongo_db->close() #1 /var/src/core/ModBase.php(130): mongo_db->__destruct() #2 /var/src/core/ModBase.php(21): Base->setData('haha') #3 /var/src/flashgame/app/mod/index.php(14): Base->__construct('haha') #4 /var/src/core/core.php(127): indexMod->__construct() #5 /var/src/core/core.php(260): Mod('index') #6 /var/src/core/core.php(302): Core::Execute('i in /var/src/core/data/mongo.php on line 95