Notice: Undefined index: search in /var/www/html/strategic/api/yearplan/ittgaction.query.php on line 4

Fatal error: Uncaught exception 'Exception' with message 'DbMySql->DbMySql::queryRecords: sql [select ittgaction.s_ittgaction , ittgaction.s_ittarget , ittgaction.s_sunit , ittgaction.s_action , ittgaction.descript , sunit.name as sunitname , action.name as actionname from ittgaction , sunit , action where ittgaction.s_sunit = sunit.s_sunit AND ittgaction.s_action = action.s_action AND s_ittarget = ] -> 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 14' in /var/www/html/lib/nmd15/db/mySql/DbMySql.php:30 Stack trace: #0 /var/www/html/strategic/api/yearplan/ittgaction.query.php(23): DbMySql->queryRecords('select\r\n\tittgac...') #1 {main} thrown in /var/www/html/lib/nmd15/db/mySql/DbMySql.php on line 30