Notice: Undefined index: security in /var/www/html/strategic/api/yearplan/issuetp.query.php on line 9

Fatal error: Uncaught exception 'Exception' with message 'DbMySql->DbMySql::queryRecords: sql [select s_issuetp , issuetp.s_issue , issue.name as issuename , year from issuetp, issue where issuetp.s_issue = issue.s_issue AND year = ] -> 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/issuetp.query.php(30): DbMySql->queryRecords('select \n s_i...') #1 {main} thrown in /var/www/html/lib/nmd15/db/mySql/DbMySql.php on line 30