Code Context if (!$mask) {
return file_put_contents($pathname, $output, FILE_APPEND);
}
$level = 'warning'
$message = 'DebugKit not enabled. You need to either install pdo_sqlite, or define the "debug_kit" connection name.'
$context = [
'scope' => []
]
$output = '2026-08-24 15:43:24 Warning: DebugKit not enabled. You need to either install pdo_sqlite, or define the "debug_kit" connection name.
'
$filename = 'error.log'
$pathname = '/var/www/html/straive/logs/error.log'
$mask = null
file_put_contents - [internal], line ??
Cake\Log\Engine\FileLog::log() - CORE/src/Log/Engine/FileLog.php, line 133
Cake\Log\Log::write() - CORE/src/Log/Log.php, line 384
Cake\Log\Log::warning() - CORE/src/Log/Log.php, line 469
include - ROOT/vendor/cakephp/debug_kit/config/bootstrap.php, line 35
Cake\Core\Plugin::_includeFile() - CORE/src/Core/Plugin.php, line 403
Cake\Core\Plugin::bootstrap() - CORE/src/Core/Plugin.php, line 321
Cake\Core\Plugin::load() - CORE/src/Core/Plugin.php, line 175
require_once - ROOT/config/bootstrap.php, line 248
Cake\Http\BaseApplication::bootstrap() - CORE/src/Http/BaseApplication.php, line 60
Cake\Http\Server::run() - CORE/src/Http/Server.php, line 71
[main] - ROOT/webroot/index.php, line 41