Deprecated (8192) : Creation of dynamic property App\Controller\EdtController::$Users is deprecated [in /www/polyflex/poly-edt/app/src/Controller/EdtController.php, line 20]
Notice (1024) : Undefined property `ErrorController::$Authentication` in `/www/polyflex/poly-edt/app/src/Controller/AppController.php` on line 60 [in /www/polyflex/poly-edt/app/vendor/cakephp/cakephp/src/Controller/Controller.php, line 313]
Warning (512) : Unable to emit headers. Headers sent in file=/www/polyflex/poly-edt/app/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php line=37 [in /www/polyflex/poly-edt/app/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 65]
Warning (2) : Cannot modify header information - headers already sent by (output started at /www/polyflex/poly-edt/app/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in /www/polyflex/poly-edt/app/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 159]
Warning (2) : Cannot modify header information - headers already sent by (output started at /www/polyflex/poly-edt/app/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in /www/polyflex/poly-edt/app/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 192]
Error: Missing Database Connection

Missing Database Connection 📋

Cake\Database\Exception\MissingConnectionException

Connection to Mysql could not be established: SQLSTATE[HY000] [2002] No such file or directory

CORE/src/Database/Driver.php at line 201 (edit)
        $retry = new CommandRetry(new ErrorCodeWaitStrategy(static::RETRY_ERROR_CODES, 5), 4);
        try {
            return $retry->run($action);
        } catch (PDOException $e) {
            throw new MissingConnectionException(
                [
                    'driver' => App::shortName(static::class, 'Database/Driver'),
                    'reason' => $e->getMessage(),
                ],
Caused by SQLSTATE[HY000] [2002] No such file or directory PDOException
CORE/src/Database/Driver.php at line 190 (edit)
     * @return \PDO
     */
    protected function createPdo(string $dsn, array $config): PDO
    {
        $action = fn (): PDO => new PDO(
            $dsn,
            $config['username'] ?: null,
            $config['password'] ?: null,
            $config['flags'],

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