Fatal error: Uncaught mysqli_sql_exception: 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 '' at line 1 in /www/webvol29/ko/97h0w9qgbz7hqa2/mobilgadget.rs/public_html/app/class/ShopHelper.php:16
Stack trace:
#0 /www/webvol29/ko/97h0w9qgbz7hqa2/mobilgadget.rs/public_html/app/class/ShopHelper.php(16): mysqli->query('SELECT * FROM c...')
#1 /www/webvol29/ko/97h0w9qgbz7hqa2/mobilgadget.rs/public_html/app/class/ShopHelper.php(425): ShopHelper::getCategoryTreeUp(NULL)
#2 /www/webvol29/ko/97h0w9qgbz7hqa2/mobilgadget.rs/public_html/app/class/core/GlobalHelper.php(1515): ShopHelper::getCategoryListFromProduct('10761243')
#3 /www/webvol29/ko/97h0w9qgbz7hqa2/mobilgadget.rs/public_html/app/class/Category.php(814): GlobalHelper::getProductLinkFromProdId('10761243')
#4 /www/webvol29/ko/97h0w9qgbz7hqa2/mobilgadget.rs/public_html/app/controller/controller_categories.php(124): Category::getCategoryProductDetail(Array, 1, '16', '', 'ASC', 'sort', false, '', '', 1)
#5 /www/webvol29/ko/97h0w9qgbz7hqa2/mobilgadget.rs/public_html/app/controller/controller_main.php(94): include('/www/webvol29/k...')
#6 /www/webvol29/ko/97h0w9qgbz7hqa2/mobilgadget.rs/public_html/index.php(219): include('/www/webvol29/k...')
#7 {main}
thrown in /www/webvol29/ko/97h0w9qgbz7hqa2/mobilgadget.rs/public_html/app/class/ShopHelper.php on line 16