Code Context }
$output = date('Y-m-d H:i:s') . ' ' . ucfirst($type) . ': ' . $message . "\n";
return file_put_contents($filename, $output, FILE_APPEND);
$type = 'error'
$message = '[MissingControllerException] Controller class Sitemap.xmlController could not be found.
Exception Attributes: array (
'class' => 'Sitemap.xmlController',
'plugin' => NULL,
)
Request URL: /sitemap.xml?url=sitemap.xml
Stack Trace:
#0 /var/www/fndr2.gorecoquimbo.cl/public_html/webroot/index.php(97): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#1 {main}'
$debugTypes = array(
(int) 0 => 'notice',
(int) 1 => 'info',
(int) 2 => 'debug'
)
$filename = '/var/www/fndr2.gorecoquimbo.cl/public_html/tmp/logs/error.log'
$output = '2025-02-22 02:23:56 Error: [MissingControllerException] Controller class Sitemap.xmlController could not be found.
Exception Attributes: array (
'class' => 'Sitemap.xmlController',
'plugin' => NULL,
)
Request URL: /sitemap.xml?url=sitemap.xml
Stack Trace:
#0 /var/www/fndr2.gorecoquimbo.cl/public_html/webroot/index.php(97): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#1 {main}
'
file_put_contents - [internal], line ??
FileLog::write() - CORE/Cake/Log/Engine/FileLog.php, line 87
CakeLog::write() - CORE/Cake/Log/CakeLog.php, line 459
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 114
[main] - [internal], line ??