Warning: Attempt to read property "iProdID" on null in /home/gbhat/mario/public_html/reviews.php on line 12

Fatal error: Uncaught mysqli_sql_exception: 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 cStatus = 'A' order by datetime DESC' at line 1 in /home/gbhat/mario/public_html/config/api.php:18 Stack trace: #0 /home/gbhat/mario/public_html/config/api.php(18): mysqli_query() #1 /home/gbhat/mario/public_html/config/api.php(414): fireQuery() #2 /home/gbhat/mario/public_html/reviews.php(12): getAllReviewsByProductId() #3 {main} thrown in /home/gbhat/mario/public_html/config/api.php on line 18