Deprecated: MongoDB\Driver\ReadPreference::__construct(): Passing an integer mode to "MongoDB\Driver\ReadPreference::__construct" is deprecated and will be removed in a future release. in /var/www/vendor/mongodb/mongodb/src/functions.php on line 484

Warning: session_start(): Failed to initialize storage module: user (path: ) in /var/www/vendor/laminas/laminas-session/src/SessionManager.php on line 144

Fatal error: Uncaught MongoDB\Driver\Exception\ConnectionTimeoutException: No suitable servers found (`serverSelectionTryOnce` set): [connection refused calling hello on 'mongodb:27017']. Topology type: Single in /var/www/vendor/mongodb/mongodb/src/functions.php:487 Stack trace: #0 /var/www/vendor/mongodb/mongodb/src/functions.php(487): MongoDB\Driver\Manager->selectServer(Object(MongoDB\Driver\ReadPreference)) #1 /var/www/vendor/mongodb/mongodb/src/Collection.php(398): MongoDB\select_server(Object(MongoDB\Driver\Manager), Array) #2 /var/www/vendor/mongodb/mongodb/src/Collection.php(366): MongoDB\Collection->createIndexes(Array, Array) #3 /var/www/vendor/laminas/laminas-session/src/SaveHandler/MongoDB.php(101): MongoDB\Collection->createIndex(Array, Array) #4 [internal function]: Laminas\Session\SaveHandler\MongoDB->open('', 'devcasabusco') #5 /var/www/vendor/laminas/laminas-session/src/SessionManager.php(144): session_start() #6 /var/www/web/Application/Module.php(153): Laminas\Session\SessionManager->start() #7 /var/www in /var/www/vendor/laminas/laminas-servicemanager/src/ServiceManager.php on line 622