Fatal error: Uncaught MongoDB\Driver\Exception\CommandException: command find requires authentication in /var/www/phpProfiMed/vendor/mongodb/mongodb/src/Operation/Find.php:328
Stack trace:
#0 /var/www/phpProfiMed/vendor/mongodb/mongodb/src/Operation/Find.php(328): MongoDB\Driver\Server->executeQuery()
#1 /var/www/phpProfiMed/vendor/mongodb/mongodb/src/Collection.php(645): MongoDB\Operation\Find->execute()
#2 /var/www/phpProfiMed/src/services/MongoClient.php(69): MongoDB\Collection->find()
#3 /var/www/phpProfiMed/src/pages/ttsLibrary.php(6): MongoClient->getAllTTSRecords()
#4 /var/www/phpProfiMed/public/routes.php(20): include('/var/www/phpPro...')
#5 /var/www/phpProfiMed/public/index.php(52): {closure}()
#6 {main}
thrown in /var/www/phpProfiMed/vendor/mongodb/mongodb/src/Operation/Find.php on line 328