Notice: Undefined offset: 1 in /var/www/u2298913/data/www/shallows.shop/card_product.php on line 5

Fatal error: Uncaught Exception: SafeMySQL: 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 'LIMIT 1' at line 1. Full query: [SELECT oc_category_description.name FROM `oc_product_to_category`,oc_category_description WHERE oc_category_description.category_id=oc_product_to_category.category_id AND oc_product_to_category.product_id= LIMIT 1] in /var/www/u2298913/data/www/shallows.shop/admin/php/mysql.php:703 Stack trace: #0 /var/www/u2298913/data/www/shallows.shop/admin/php/mysql.php(573): SafeMySQL->error('SafeMySQL: You ...') #1 /var/www/u2298913/data/www/shallows.shop/admin/php/mysql.php(299): SafeMySQL->rawQuery('SELECT oc_categ...') #2 /var/www/u2298913/data/www/shallows.shop/card_product.php(11): SafeMySQL->getOne('SELECT oc_categ...') #3 /var/www/u2298913/data/www/shallows.shop/catalog.php(15): include('/var/www/u22989...') #4 {main} thrown in /var/www/u2298913/data/www/shallows.shop/admin/php/mysql.php on line 703