Notice: Undefined offset: 0 in /var/www/html/control/product_detail.php on line 10

Notice: Trying to get property of non-object in /var/www/html/control/product_detail.php on line 15

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42601]: Syntax error: 7 ERROR: syntax error at or near "group" at character 571' in /var/www/html/control/library/db.php:112 Stack trace: #0 /var/www/html/control/library/db.php(112): PDOStatement->execute() #1 /var/www/html/control/library/db.php(134): DB::execute('select product....', NULL) #2 /var/www/html/control/product_detail.php(20): DB::queryObject('select product....') #3 /var/www/html/include/init/product.php(11): ProductDetailControl->__construct('235') #4 /var/www/html/layout/layout_page.php(24): include_once('/var/www/html/i...') #5 /var/www/html/page.php(2): include('/var/www/html/l...') #6 {main} thrown in /var/www/html/control/library/db.php on line 112