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 = "[MissingTableException] Database table configurations for model Configuration was not found.
#0 /var/www/html/politest/html/lib/Cake/Model/Model.php(3258): Model->setSource('configurations')
#1 /var/www/html/politest/html/lib/Cake/Model/Model.php(2483): Model->getDataSource()
#2 /var/www/html/politest/html/app/Controller/AppController.php(35): Model->find('all')
#3 /var/www/html/politest/html/lib/Cake/Controller/Controller.php(605): AppController->beforeFilter()
#4 /var/www/html/politest/html/lib/Cake/Routing/Dispatcher.php(101): Controller->startupProcess()
#5 /var/www/html/politest/html/lib/Cake/Routing/Dispatcher.php(86): Dispatcher->_invoke(Object(PatientsController), Object(CakeRequest), Object(CakeResponse))
#6 /var/www/html/politest/html/app/webroot/index.php(96): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#7 {main}"
$debugTypes = array(
"notice",
"info",
"debug"
)
$filename = "/var/www/html/politest/html/app/tmp/logs/error.log"
$output = "2025-12-13 02:58:24 Error: [MissingTableException] Database table configurations for model Configuration was not found.
#0 /var/www/html/politest/html/lib/Cake/Model/Model.php(3258): Model->setSource('configurations')
#1 /var/www/html/politest/html/lib/Cake/Model/Model.php(2483): Model->getDataSource()
#2 /var/www/html/politest/html/app/Controller/AppController.php(35): Model->find('all')
#3 /var/www/html/politest/html/lib/Cake/Controller/Controller.php(605): AppController->beforeFilter()
#4 /var/www/html/politest/html/lib/Cake/Routing/Dispatcher.php(101): Controller->startupProcess()
#5 /var/www/html/politest/html/lib/Cake/Routing/Dispatcher.php(86): Dispatcher->_invoke(Object(PatientsController), Object(CakeRequest), Object(CakeResponse))
#6 /var/www/html/politest/html/app/webroot/index.php(96): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#7 {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(MissingTableException))
#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(MissingTableException))
#12 {main} [CORE/Cake/Error/ErrorHandler.php, line 136]Code Context $e->getTraceAsString()
);
trigger_error($message, E_USER_ERROR);
$exception = MissingTableException
$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(MissingTableException))
#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(MissingTableException))
#12 {main}"
$renderer = "ExceptionRenderer"
$error = ExceptionRenderer
ExceptionRenderer::$controller = CakeErrorController object
ExceptionRenderer::$template = "missingTable"
ExceptionRenderer::$method = "_cakeError"
ExceptionRenderer::$error = MissingTableException object
$e = MissingTableException
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 136
[main] - [internal], line ??