Notice: Trying to get property of non-object in /home/gardinersreclaim/public_html/controllers/products.php on line 134

Error!

MySQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1
SQL Statement: select * from product_images where product_id=