Notice (8): Trying to access array offset on value of type null [APP/Controller/TimelogsController.php, line 35]
Warning (512): Unable to emit headers. Headers sent in file=/var/www/desarrollo/workrocca/vendor/cakephp/cakephp/src/Error/Debugger.php line=970 [CORE/src/Http/ResponseEmitter.php, line 71]
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/desarrollo/workrocca/vendor/cakephp/cakephp/src/Error/Debugger.php:970) [CORE/src/Http/ResponseEmitter.php, line 168]
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/desarrollo/workrocca/vendor/cakephp/cakephp/src/Error/Debugger.php:970) [CORE/src/Http/ResponseEmitter.php, line 197]
Error: Missing Database Connection

Missing Database Connection 📋

Cake\Database\Exception\MissingConnectionException
Toggle Vendor Stack Frames

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

        $retry = new CommandRetry(new ErrorCodeWaitStrategy(static::RETRY_ERROR_CODES5), 4);
        try {
            $retry->run($action);
        } catch (PDOException $e) {
            throw new MissingConnectionException(
                [
                    'driver' => App::shortName(static::class, 'Database/Driver'),
                    'reason' => $e->getMessage(),
                ],

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