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

Fatal error: Uncaught exception 'Exception' with message 'DbMySql->DbMySql::queryRecords: sql [select s_strategytp , strategytp.s_strategy , strategy.name as strategyname , strategytp.s_purposetp from strategytp, strategy where strategytp.s_strategy = strategy.s_strategy AND strategytp.s_purposetp = ] -> 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 11' in /var/www/html/lib/nmd15/db/mySql/DbMySql.php:30 Stack trace: #0 /var/www/html/strategic/api/yearplan/strategytp.query.php(24): DbMySql->queryRecords('select \n s_s...') #1 {main} thrown in /var/www/html/lib/nmd15/db/mySql/DbMySql.php on line 30