Notice: Undefined index: security in /var/www/html/prevent/api/myreport/person.queryreport.php on line 4

Notice: Undefined index: s_person in /var/www/html/prevent/api/myreport/person.queryreport.php on line 5

Fatal error: Uncaught exception 'Exception' with message 'DbMySql->DbMySql::queryRecords: sql [ SELECT s_person , pid , rank.s_rank, rank.name as rankname, fname , sname , birthdate , jobstartdate , mate.s_mate , mate.name as matename, position , subdivision , division , navydepart.s_navydepart , navydepart.descript as navydepartname, mydisease , firstdate , statusperson.s_statusperson, statusperson.name as statuspersonname FROM person , rank ,mate , navydepart, statusperson WHERE person.s_rank = rank.s_rank AND person.s_navydepart = navydepart.s_navydepart AND person.s_statusperson = statusperson.s_statusperson AND person.s_mate = mate.s_mate AND person.s_person = ] -> 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 30' in /var/www/html/lib/nmd15/db/mySql/DbMySql.php in /var/www/html/lib/nmd15/db/mySql/DbMySql.php on line 30