: file_put_contents(/var/www/html/logs/error.log): Failed to open stream: Permission denied [in
Code
if (!$mask) {
file_put_contents($pathname, $message . "\n", FILE_APPEND);
Cake\Error\ErrorTrap->handleError() [internal], line ??
/var/www/html/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php /var/www/html/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php, line 137
Cake\Log\Engine\FileLog->log() /var/www/html/vendor/cakephp/cakephp/src/Log/Log.php, line 381
Cake\Log\Log::write() /var/www/html/vendor/cakephp/cakephp/src/Log/Log.php, line 466
Cake\Log\Log::warning() /var/www/html/vendor/cakephp/debug_kit/src/ToolbarService.php, line 178
DebugKit\ToolbarService->isSuspiciouslyProduction() /var/www/html/vendor/cakephp/debug_kit/src/ToolbarService.php, line 115
DebugKit\ToolbarService->isEnabled() /var/www/html/vendor/cakephp/debug_kit/src/DebugKitPlugin.php, line 50
DebugKit\DebugKitPlugin->bootstrap() /var/www/html/vendor/cakephp/cakephp/src/Http/BaseApplication.php, line 201
Cake\Http\BaseApplication->pluginBootstrap() /var/www/html/vendor/cakephp/cakephp/src/Http/Server.php, line 125
Cake\Http\Server->bootstrap() /var/www/html/vendor/cakephp/cakephp/src/Http/Server.php, line 85
Cake\Http\Server->run() /var/www/html/webroot/index.php, line 37
[main]