Notice: Undefined offset: 0 in /www/wwwroot/ on line 33

Fatal error: Uncaught exception 'Exception' with message '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 1 query: select * from lumise_categories where id = ' in /www/wwwroot/ Stack trace: #0 /www/wwwroot/ MysqliDb->_prepareQuery() #1 /www/wwwroot/ MysqliDb->rawQuery('select * from l...') #2 {main} thrown in /www/wwwroot/ on line 1827