Warning: Undefined array key "brandName" in /home/mehran10/public_html/sites/offerwatch/setPrice.php on line 6
Warning: Undefined array key "productName" in /home/mehran10/public_html/sites/offerwatch/setPrice.php on line 6
Warning: Undefined variable $productId in /home/mehran10/public_html/sites/offerwatch/setPrice.php on line 38
Warning: Undefined variable $unitId in /home/mehran10/public_html/sites/offerwatch/setPrice.php on line 38
Warning: Undefined variable $brandId in /home/mehran10/public_html/sites/offerwatch/setPrice.php on line 38
Warning: Undefined variable $groceryId in /home/mehran10/public_html/sites/offerwatch/setPrice.php on line 38
Warning: Undefined variable $groceryBranchId in /home/mehran10/public_html/sites/offerwatch/setPrice.php on line 38
Warning: Undefined variable $userId in /home/mehran10/public_html/sites/offerwatch/setPrice.php on line 38
Warning: Undefined variable $isSpecial in /home/mehran10/public_html/sites/offerwatch/setPrice.php on line 38
Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'and unitId= and brandId= and groceryId='' and groceryBranchId= and userId= a...' at line 1 in /home/mehran10/public_html/sites/offerwatch/dbconfig.php:111
Stack trace:
#0 /home/mehran10/public_html/sites/offerwatch/dbconfig.php(111): PDOStatement->execute()
#1 /home/mehran10/public_html/sites/offerwatch/dbconfig.php(168): Crud->execute()
#2 /home/mehran10/public_html/sites/offerwatch/setPrice.php(42): Crud->resultField()
#3 {main}
thrown in /home/mehran10/public_html/sites/offerwatch/dbconfig.php on line 111