NEOCUBE ERROR -> EXCEPTION
Error
[42000] SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Fatal error on line 381 in file /home2/cedms065/sistema_neociti/Sistema2/lib/NeoCube/Model.php
PHP 8.2.23 (Linux)
Fatal error: Uncaught Error: Call to a member function fetchAll() on null in /home2/cedms065/sistema_neociti/Sistema2/lib/NeoCube/Model.php:580
Stack trace:
#0 /home2/cedms065/sistema_neociti/Sistema2/app/licitacao/Model/Edital.php(17): NeoCube_Model->fetchAll()
#1 /home2/cedms065/sistema_neociti/Sistema2/app/licitacao/Auth.php(17): licitacao_Model_Edital->editalByPessoaId(NULL)
#2 /home2/cedms065/sistema_neociti/Sistema2/templates/2021/Views/licitacao/abrir.phtml(54): licitacao_Auth::acessoEdital(322)
#3 /home2/cedms065/sistema_neociti/Sistema2/lib/NeoCube/View.php(179): require('/home2/cedms065...')
#4 /home2/cedms065/sistema_neociti/Sistema2/lib/NeoCube/View.php(157): NeoCube_View->viewRender()
#5 /home2/cedms065/sistema_neociti/Sistema2/lib/NeoCube/Controller.php(67): NeoCube_View->renderAll()
#6 /home2/cedms065/sistema_neociti/Sistema2/lib/NeoCube/Route.php(77): NeoCube_Controller->render()
#7 /home2/cedms065/sistema_neociti/Sistema2/lib/NeoCube/Application.php(79): NeoCube_Route->routing()
#8 /home2/cedms065/sistema_neociti/cordeirorj/public/index.php(36): NeoCube_Application::startModules(Object(Router))
#9 {main}
thrown in /home2/cedms065/sistema_neociti/Sistema2/lib/NeoCube/Model.php on line 580