Warning: Illegal string offset 'file' in /var/www/html/politest/html/lib/Cake/Utility/Debugger.php on line 649
Warning: Illegal string offset 'line' in /var/www/html/politest/html/lib/Cake/Utility/Debugger.php on line 649
Warning (2): file_put_contents(/var/www/html/politest/html/app/tmp/logs/error.log): failed to open stream: Permission denied [CORE/Cake/Log/Engine/FileLog.php, line 69]Code Context$type = "error"
$message = "[MissingControllerException] Controller class Sitemap.xmlController could not be found.
#0 /var/www/html/politest/html/app/webroot/index.php(96): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#1 {main}"
$debugTypes = array(
"notice",
"info",
"debug"
)
$filename = "/var/www/html/politest/html/app/tmp/logs/error.log"
$output = "2026-04-12 14:05:31 Error: [MissingControllerException] Controller class Sitemap.xmlController could not be found.
#0 /var/www/html/politest/html/app/webroot/index.php(96): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#1 {main}
"file_put_contents - [internal], line ??
FileLog::write() - CORE/Cake/Log/Engine/FileLog.php, line 69
CakeLog::write() - CORE/Cake/Log/CakeLog.php, line 204
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 118
[main] - [internal], line ??
Fatal Error (256): [MissingTableException] Database table pdfs for model Pdf was not found.
#0 /var/www/html/politest/html/lib/Cake/Model/Model.php(3258): Model->setSource('pdfs')
#1 /var/www/html/politest/html/lib/Cake/Model/Model.php(2483): Model->getDataSource()
#2 /var/www/html/politest/html/app/Controller/AppController.php(132): Model->find('first', Array)
#3 /var/www/html/politest/html/app/Controller/AppController.php(167): AppController->__exists_pdf_template()
#4 /var/www/html/politest/html/lib/Cake/Controller/CakeErrorController.php(64): AppController->beforeRender()
#5 /var/www/html/politest/html/lib/Cake/Controller/Controller.php(865): CakeErrorController->beforeRender()
#6 /var/www/html/politest/html/lib/Cake/Error/ExceptionRenderer.php(282): Controller->render('error500')
#7 /var/www/html/politest/html/lib/Cake/Error/ExceptionRenderer.php(191): ExceptionRenderer->_outputMessageSafe('error500')
#8 [internal function]: ExceptionRenderer->_cakeError(Object(MissingControllerException))
#9 /var/www/html/politest/html/lib/Cake/Error/ExceptionRenderer.php(165): call_user_func_array(Array, Array)
#10 /var/www/html/politest/html/lib/Cake/Error/ErrorHandler.php(127): ExceptionRenderer->render()
#11 [internal function]: ErrorHandler::handleException(Object(MissingControllerException))
#12 {main} [CORE/Cake/Error/ErrorHandler.php, line 136]Code Context $e->getTraceAsString()
);
trigger_error($message, E_USER_ERROR);
$exception = MissingControllerException
$config = array(
"handler" => "ErrorHandler::handleException",
"renderer" => "ExceptionRenderer",
"log" => true
)
$message = "[MissingTableException] Database table pdfs for model Pdf was not found.
#0 /var/www/html/politest/html/lib/Cake/Model/Model.php(3258): Model->setSource('pdfs')
#1 /var/www/html/politest/html/lib/Cake/Model/Model.php(2483): Model->getDataSource()
#2 /var/www/html/politest/html/app/Controller/AppController.php(132): Model->find('first', Array)
#3 /var/www/html/politest/html/app/Controller/AppController.php(167): AppController->__exists_pdf_template()
#4 /var/www/html/politest/html/lib/Cake/Controller/CakeErrorController.php(64): AppController->beforeRender()
#5 /var/www/html/politest/html/lib/Cake/Controller/Controller.php(865): CakeErrorController->beforeRender()
#6 /var/www/html/politest/html/lib/Cake/Error/ExceptionRenderer.php(282): Controller->render('error500')
#7 /var/www/html/politest/html/lib/Cake/Error/ExceptionRenderer.php(191): ExceptionRenderer->_outputMessageSafe('error500')
#8 [internal function]: ExceptionRenderer->_cakeError(Object(MissingControllerException))
#9 /var/www/html/politest/html/lib/Cake/Error/ExceptionRenderer.php(165): call_user_func_array(Array, Array)
#10 /var/www/html/politest/html/lib/Cake/Error/ErrorHandler.php(127): ExceptionRenderer->render()
#11 [internal function]: ErrorHandler::handleException(Object(MissingControllerException))
#12 {main}"
$renderer = "ExceptionRenderer"
$error = ExceptionRenderer
ExceptionRenderer::$controller = CakeErrorController object
ExceptionRenderer::$template = "missingController"
ExceptionRenderer::$method = "_cakeError"
ExceptionRenderer::$error = MissingControllerException object
$e = MissingTableException
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 136
[main] - [internal], line ??