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 '' at line 3 in /home/odenirdavid/affliction.com.br/library/product-functions.php:42
Stack trace:
#0 /home/odenirdavid/affliction.com.br/library/product-functions.php(42): mysqli_query(Object(mysqli), 'SELECT p.pd_id,...')
#1 /home/odenirdavid/affliction.com.br/productGrid.php(30): getProductDetail('784', 0)
#2 /home/odenirdavid/affliction.com.br/listContainer.php(954): require_once('/home/odenirdav...')
#3 /home/odenirdavid/affliction.com.br/theme.php(148): require_once('/home/odenirdav...')
#4 /home/odenirdavid/affliction.com.br/index.php(234): require_once('/home/odenirdav...')
#5 {main}
thrown in /home/odenirdavid/affliction.com.br/library/product-functions.php on line 42