Warning (2): file_put_contents(/var/www/demo/app/tmp/logs/error.log): failed to open stream: Permission denied [CORE/Cake/Log/Engine/FileLog.php, line 142]Code Context $pathname = $this->_path . $filename;
if (empty($this->_config['mask'])) {
return file_put_contents($pathname, $output, FILE_APPEND);
$type = 'error'
$message = '[MissingControllerException] Controller class SitemapController could not be found.
Exception Attributes: array (
'class' => 'SitemapController',
'plugin' => NULL,
)
Request URL: /sitemap.xml
Stack Trace:
#0 /var/www/demo/app/webroot/index.php(107): Dispatcher->dispatch()
#1 {main}'
$output = '2026-03-16 05:12:04 Error: [MissingControllerException] Controller class SitemapController could not be found.
Exception Attributes: array (
'class' => 'SitemapController',
'plugin' => NULL,
)
Request URL: /sitemap.xml
Stack Trace:
#0 /var/www/demo/app/webroot/index.php(107): Dispatcher->dispatch()
#1 {main}
'
$filename = 'error.log'
$pathname = '/var/www/demo/app/tmp/logs/error.log'file_put_contents - [internal], line ??
FileLog::write() - CORE/Cake/Log/Engine/FileLog.php, line 142
CakeLog::write() - CORE/Cake/Log/CakeLog.php, line 445
ErrorHandler::_log() - CORE/Cake/Error/ErrorHandler.php, line 188
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 118
AppExceptionHandler::handle() - APP/Lib/Error/AppExceptionHandler.php, line 15
[main] - [internal], line ??
Warning (2): Declaration of LoggableBehavior::beforeSave(&$Model) should be compatible with ModelBehavior::beforeSave(Model $model, $options = Array) [APP/Model/Behavior/LoggableBehavior.php, line 20]Code Context $file = static::_mapped($className, $plugin);
if ($file) {
return include $file;
$className = 'LoggableBehavior'
$parts = array(
(int) 0 => 'Model/Behavior'
)
$plugin = null
$package = 'Model/Behavior'
$file = '/var/www/demo/app/Model/Behavior/LoggableBehavior.php'
include - CORE/Cake/Core/App.php, line 547
App::load() - CORE/Cake/Core/App.php, line 547
spl_autoload_call - [internal], line ??
class_exists - [internal], line ??
BehaviorCollection::load() - CORE/Cake/Model/BehaviorCollection.php, line 120
BehaviorCollection::init() - CORE/Cake/Model/BehaviorCollection.php, line 66
Model::__construct() - CORE/Cake/Model/Model.php, line 781
ReflectionClass::newInstance() - [internal], line ??
ClassRegistry::init() - CORE/Cake/Utility/ClassRegistry.php, line 169
Controller::loadModel() - CORE/Cake/Controller/Controller.php, line 746
AppController::beforeFilter() - APP/Controller/AppController.php, line 279
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 244
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 682
ExceptionRenderer::_getController() - CORE/Cake/Error/ExceptionRenderer.php, line 158
ExceptionRenderer::__construct() - CORE/Cake/Error/ExceptionRenderer.php, line 95
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 126
AppExceptionHandler::handle() - APP/Lib/Error/AppExceptionHandler.php, line 15
[main] - [internal], line ??
Warning (2): Declaration of LoggableBehavior::afterSave($Model, $created) should be compatible with ModelBehavior::afterSave(Model $model, $created, $options = Array) [APP/Model/Behavior/LoggableBehavior.php, line 25]Code Context $file = static::_mapped($className, $plugin);
if ($file) {
return include $file;
$className = 'LoggableBehavior'
$parts = array(
(int) 0 => 'Model/Behavior'
)
$plugin = null
$package = 'Model/Behavior'
$file = '/var/www/demo/app/Model/Behavior/LoggableBehavior.php'
include - CORE/Cake/Core/App.php, line 547
App::load() - CORE/Cake/Core/App.php, line 547
spl_autoload_call - [internal], line ??
class_exists - [internal], line ??
BehaviorCollection::load() - CORE/Cake/Model/BehaviorCollection.php, line 120
BehaviorCollection::init() - CORE/Cake/Model/BehaviorCollection.php, line 66
Model::__construct() - CORE/Cake/Model/Model.php, line 781
ReflectionClass::newInstance() - [internal], line ??
ClassRegistry::init() - CORE/Cake/Utility/ClassRegistry.php, line 169
Controller::loadModel() - CORE/Cake/Controller/Controller.php, line 746
AppController::beforeFilter() - APP/Controller/AppController.php, line 279
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 244
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 682
ExceptionRenderer::_getController() - CORE/Cake/Error/ExceptionRenderer.php, line 158
ExceptionRenderer::__construct() - CORE/Cake/Error/ExceptionRenderer.php, line 95
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 126
AppExceptionHandler::handle() - APP/Lib/Error/AppExceptionHandler.php, line 15
[main] - [internal], line ??
Warning (2): Declaration of LoggableBehavior::beforeDelete($Model, $cascade) should be compatible with ModelBehavior::beforeDelete(Model $model, $cascade = true) [APP/Model/Behavior/LoggableBehavior.php, line 80]Code Context $file = static::_mapped($className, $plugin);
if ($file) {
return include $file;
$className = 'LoggableBehavior'
$parts = array(
(int) 0 => 'Model/Behavior'
)
$plugin = null
$package = 'Model/Behavior'
$file = '/var/www/demo/app/Model/Behavior/LoggableBehavior.php'
include - CORE/Cake/Core/App.php, line 547
App::load() - CORE/Cake/Core/App.php, line 547
spl_autoload_call - [internal], line ??
class_exists - [internal], line ??
BehaviorCollection::load() - CORE/Cake/Model/BehaviorCollection.php, line 120
BehaviorCollection::init() - CORE/Cake/Model/BehaviorCollection.php, line 66
Model::__construct() - CORE/Cake/Model/Model.php, line 781
ReflectionClass::newInstance() - [internal], line ??
ClassRegistry::init() - CORE/Cake/Utility/ClassRegistry.php, line 169
Controller::loadModel() - CORE/Cake/Controller/Controller.php, line 746
AppController::beforeFilter() - APP/Controller/AppController.php, line 279
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 244
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 682
ExceptionRenderer::_getController() - CORE/Cake/Error/ExceptionRenderer.php, line 158
ExceptionRenderer::__construct() - CORE/Cake/Error/ExceptionRenderer.php, line 95
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 126
AppExceptionHandler::handle() - APP/Lib/Error/AppExceptionHandler.php, line 15
[main] - [internal], line ??
404
Controller class SitemapController could not be found.
Controller class SitemapController could not be found.
/sitemap.xml