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 /bs/clients/amgad.com/code/includes/custom_mysqli_functions.php:8 Stack trace: #0 /bs/clients/amgad.com/code/includes/custom_mysqli_functions.php(8): mysqli_query() #1 /bs/clients/amgad.com/code/includes/functions.php(426): custom_my_sql_query() #2 /bs/clients/amgad.com/code/includes/classCart.php(703): getProductURLByCategory() #3 /bs/clients/amgad.com/code/index.php(197): Cart->show_Cart_On_Header() #4 /bs/clients/amgad.com/code/controller.php(2): require_once('...') #5 {main} thrown in /bs/clients/amgad.com/code/includes/custom_mysqli_functions.php on line 8