Notice: Trying to access array offset on value of type null in /usr/home/sites/dev.toshiba-klima.net/model/entity/products.class.php on line 61

mysql says: 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 7
query is: # query: 18 SELECT * FROM categories WHERE category_id =

DEBUG_MODE is screen
Message ID:/usr/home/sites/dev.toshiba-klima.net/model/entity/products.class.php:63