: file_put_contents(/opt/bitnami/projects/comment/logs/error.log): failed to open stream: Permission denied [in
Code
if (!$mask) {
file_put_contents($pathname, $message . "\n", FILE_APPEND);
file_put_contents [internal], line ??
Cake\Log\Engine\FileLog::log() /opt/bitnami/projects/comment/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php, line 140
Cake\Log\Log::write() /opt/bitnami/projects/comment/vendor/cakephp/cakephp/src/Log/Log.php, line 392
Cake\Log\Log::warning() /opt/bitnami/projects/comment/vendor/cakephp/cakephp/src/Log/Log.php, line 477
DebugKit\ToolbarService::isSuspiciouslyProduction() /opt/bitnami/projects/comment/vendor/cakephp/debug_kit/src/ToolbarService.php, line 173
DebugKit\ToolbarService::isEnabled() /opt/bitnami/projects/comment/vendor/cakephp/debug_kit/src/ToolbarService.php, line 107
DebugKit\Plugin::bootstrap() /opt/bitnami/projects/comment/vendor/cakephp/debug_kit/src/Plugin.php, line 50
Cake\Http\BaseApplication::pluginBootstrap() /opt/bitnami/projects/comment/vendor/cakephp/cakephp/src/Http/BaseApplication.php, line 182
Cake\Http\Server::bootstrap() /opt/bitnami/projects/comment/vendor/cakephp/cakephp/src/Http/Server.php, line 111
Cake\Http\Server::run() /opt/bitnami/projects/comment/vendor/cakephp/cakephp/src/Http/Server.php, line 79
[main] /opt/bitnami/projects/comment/webroot/index.php, line 40