Warning (2) : Trying to access array offset on value of type null [in /www/belovedbeyondcake5-uat/src/Controller/Component/GridFSComponent.php, line 799]
Warning (2) : Trying to access array offset on value of type null [in /www/belovedbeyondcake5-uat/src/Controller/Component/GridFSComponent.php, line 799]
Warning (512) : Unable to emit headers. Headers sent in file=/www/belovedbeyondcake5-uat/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php line=37 [in /www/belovedbeyondcake5-uat/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 65]
Warning (2) : Cannot modify header information - headers already sent by (output started at /www/belovedbeyondcake5-uat/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in /www/belovedbeyondcake5-uat/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 159]
Warning (2) : Cannot modify header information - headers already sent by (output started at /www/belovedbeyondcake5-uat/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in /www/belovedbeyondcake5-uat/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 192]
Error: Failed to parse MongoDB URI: 'mongodb://:'. Invalid host string in URI.

Failed to parse MongoDB URI: 'mongodb://:'. Invalid host string in URI. 📋

MongoDB\Driver\Exception\InvalidArgumentException
ROOT/vendor/mongodb/mongodb/src/Client.php at line 117 (edit)
        $this->typeMap $driverOptions['typeMap'];
        unset($driverOptions['typeMap']);
        $this->manager = new Manager($uri$uriOptions$driverOptions);
        $this->readConcern $this->manager->getReadConcern();
        $this->readPreference $this->manager->getReadPreference();
        $this->writeConcern $this->manager->getWriteConcern();
    }

If you want to customize this error message, create templates/Error/error500.php