Warning (2) : session_write_close() [<a href='https://secure.php.net/function.session-write-close'>function.session-write-close</a>]: Write failed: No space left on device (28) [in /home/web4s/vendor/cakephp/cakephp/src/Http/Session.php, line 393]
Warning (2) : session_write_close() [<a href='https://secure.php.net/function.session-write-close'>function.session-write-close</a>]: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () [in /home/web4s/vendor/cakephp/cakephp/src/Http/Session.php, line 393]
Warning (512) : Unable to emit headers. Headers sent in file=/home/web4s/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php line=36 [in /home/web4s/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 71]
Warning (2) : Cannot modify header information - headers already sent by (output started at /home/web4s/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:36) [in /home/web4s/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 168]
Warning (2) : Cannot modify header information - headers already sent by (output started at /home/web4s/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:36) [in /home/web4s/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 197]
Error: Connection to Mysql could not be established: SQLSTATE[HY000] [2002] No such file or directory

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

Cake\Database\Exception\MissingConnectionException
Toggle Vendor Stack Frames
        if (!empty($config['encoding'])) {
            $dsn .= ";charset={$config['encoding']}";
        }
        $this->_connect($dsn$config);
        if (!empty($config['init'])) {
            $connection $this->getConnection();
            foreach ((array)$config['init'] as $command) {
            $this->setConnection(new PDO(
                $dsn,
                $config['username'] ?: null,
                $config['password'] ?: null,
                $config['flags']
            ));
        };
        $retry = new CommandRetry(new ErrorCodeWaitStrategy(static::RETRY_ERROR_CODES5), 4);

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