Warning: file_put_contents(/var/www/html/logs/error.log) [function.file-put-contents]: Failed to open stream: Permission denied in /var/www/html/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 142
Warning (512) : /var/www/html/tmp/cache/ is not writable [in /var/www/html/vendor/cakephp/cakephp/src/Cache/Engine/FileEngine.php, line 430]

Warning: file_put_contents(/var/www/html/logs/error.log) [function.file-put-contents]: Failed to open stream: Permission denied in /var/www/html/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 142
Warning (2) : file_put_contents(/var/www/html/logs/error.log) [<a href='https://secure.php.net/function.file-put-contents'>function.file-put-contents</a>]: Failed to open stream: Permission denied [in /var/www/html/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php, line 142]

Warning: file_put_contents(/var/www/html/logs/error.log) [function.file-put-contents]: Failed to open stream: Permission denied in /var/www/html/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 142
Warning (512) : Unable to emit headers. Headers sent in file=/var/www/html/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php line=142 [in /var/www/html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 71]

Warning: file_put_contents(/var/www/html/logs/error.log) [function.file-put-contents]: Failed to open stream: Permission denied in /var/www/html/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 142
Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/html/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php:142) [in /var/www/html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 164]

Warning: file_put_contents(/var/www/html/logs/error.log) [function.file-put-contents]: Failed to open stream: Permission denied in /var/www/html/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 142
Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/html/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php:142) [in /var/www/html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 197]

Warning: file_put_contents(/var/www/html/logs/error.log) [function.file-put-contents]: Failed to open stream: Permission denied in /var/www/html/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 142
Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/html/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php:142) [in /var/www/html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 197]

Warning: file_put_contents(/var/www/html/logs/error.log) [function.file-put-contents]: Failed to open stream: Permission denied in /var/www/html/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 142
Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/html/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php:142) [in /var/www/html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 197]

Warning: file_put_contents(/var/www/html/logs/error.log) [function.file-put-contents]: Failed to open stream: Permission denied in /var/www/html/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 142
Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/html/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php:142) [in /var/www/html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 197]

Warning: file_put_contents(/var/www/html/logs/error.log) [function.file-put-contents]: Failed to open stream: Permission denied in /var/www/html/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 142
Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/html/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php:142) [in /var/www/html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 197]

Warning: file_put_contents(/var/www/html/logs/error.log) [function.file-put-contents]: Failed to open stream: Permission denied in /var/www/html/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 142
Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/html/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php:142) [in /var/www/html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 197]

Warning: file_put_contents(/var/www/html/logs/error.log) [function.file-put-contents]: Failed to open stream: Permission denied in /var/www/html/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 142
Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/html/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php:142) [in /var/www/html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 197]

Warning: file_put_contents(/var/www/html/logs/error.log) [function.file-put-contents]: Failed to open stream: Permission denied in /var/www/html/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 142
Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/html/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php:142) [in /var/www/html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 197]

Warning: file_put_contents(/var/www/html/logs/error.log) [function.file-put-contents]: Failed to open stream: Permission denied in /var/www/html/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 142
Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/html/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php:142) [in /var/www/html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 197]
Error: Unable to cache route collection. Cached routes must be serializable. Check for route-specific middleware or other unserializable settings in your routes. The original exception message can show what type of object failed to serialize.

Unable to cache route collection. Cached routes must be serializable. Check for route-specific 📋

middleware or other unserializable settings in your routes. The original exception message can
show what type of object failed to serialize.
Cake\Routing\Exception\FailedRouteCacheException
CORE/src/Routing/Middleware/RoutingMiddleware.php at line 116 (edit)
                }, $this->cacheConfig);
            } catch (InvalidArgumentException $e) {
                throw $e;
            } catch (Exception $e) {
                throw new FailedRouteCacheException(
                    'Unable to cache route collection. Cached routes must be serializable. Check for route-specific
                    middleware or other unserializable settings in your routesThe original exception message can
                    show what type of object failed to serialize.',
                    null,
Caused by _cake_routes_ cache was unable to write 'routeCollection' to Cake\Cache\Engine\FileEngine cache Cake\Cache\Exception\CacheWriteException
CORE/src/Cache/Cache.php at line 271 (edit)
        $backend = static::pool($config);
        $success $backend->set($key$value);
        if ($success === false && $value !== '') {
            throw new CacheWriteException(sprintf(
                "%s cache was unable to write '%s' to %s cache",
                $config,
                $key,
                get_class($backend)

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