exception 'Exception' with message 'You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND `State` = 'online'' at line 5 Query: SELECT ModificationDate FROM `Workflow` WHERE `Object` LIKE 'Opere' AND `ID` = AND `State` = 'online' ' in /mnt/disk/www/clients/client1/web21/web/libs/dlibs/ActiveDB/MySQLDbWrapper.php:73 Stack trace: #0 /mnt/disk/www/clients/client1/web21/web/libs/dlibs/ActiveDB/ActiveQuery.php(75): MysqlDBWrapper->doQuery('\n ...') #1 /mnt/disk/www/clients/client1/web21/web/libs/dlibs/ActiveDB/ActiveDB.php(576): ActiveQuery->findAll(NULL) #2 /mnt/disk/www/clients/client1/web21/web/website/controllers/CITaglia_Controller.php(344): ActiveDB->getObject() #3 /mnt/disk/www/clients/client1/web21/web/website/controllers/CITaglia_Controller.php(302): CITaglia_Controller->getDataAggCar(NULL) #4 /mnt/disk/www/clients/client1/web21/web/libs/dsite/DSiteController.php(51): CITaglia_Controller->handle_dettaglioOpera() #5 /mnt/disk/www/clients/client1/web21/web/libs/dsite/DSiteController.php(40): DSiteController->runHandler('handle_dettagli...') #6 /mnt/disk/www/clients/client1/web21/web/libs/dsite/DSite_CallableController.php(7): DSiteController->run('dettaglioOpera') #7 /mnt/disk/www/clients/client1/web21/web/libs/dsite/DSiteManager.php(256): DSite_CallableController->run() #8 /mnt/disk/www/clients/client1/web21/web/libs/dsite/DSiteManager.php(316): DSiteManager->handleSiteController() #9 /mnt/disk/www/clients/client1/web21/web/website/index.php(63): DSiteManager->run() #10 {main}