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

Fatal error: Uncaught exception 'Exception' with message 'DbMySql->DbMySql::queryRecords: sql [select s_sysuserrole , sysuser.s_sysuser , sysuser.name as sysusername , sysuser.loginname as loginname, sysrole.s_sysrole , sysrole.name as sysrolename, sunit.name as sunitname from sysuserrole, sysuser , sysrole , sunit where sysuserrole.s_sysuser = sysuser.s_sysuser AND sysuserrole.s_sysrole = sysrole.s_sysrole AND sysuserrole.s_sysrole = AND sysuser.s_sunit = sunit.s_sunit] -> 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 'AND sysuser.s_sunit = sunit.s_sunit' at line 20' in /var/www/html/lib/nmd15/db/mySql/DbMySql.php:30 Stack trace: #0 /var/www/html/strategic/api/system/sysroleuser.query.php(36): DbMySql->queryRecords('select \n s_s...') #1 {main} thrown in /var/www/html/lib/nmd15/db/mySql/DbMySql.php on line 30