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

Fatal error: Uncaught exception 'Exception' with message 'DbMySql->DbMySql::queryRecords: sql [select s_projecttp , projecttp.s_project , project.name as projectname , projecttp.s_strategytp , target, tgvalue , status from projecttp, project where projecttp.s_project = project.s_project AND projecttp.s_strategytp = ] -> 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 13' in /var/www/html/lib/nmd15/db/mySql/DbMySql.php:30 Stack trace: #0 /var/www/html/strategic/api/yearplan/projecttp.query.php(26): DbMySql->queryRecords('select \n s_p...') #1 {main} thrown in /var/www/html/lib/nmd15/db/mySql/DbMySql.php on line 30