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 /home/u511432137/domains/betterdiamonds.in/public_html/includes/custom_sql_functions.php:8 Stack trace: #0 /home/u511432137/domains/betterdiamonds.in/public_html/includes/custom_sql_functions.php(8): mysqli_query() #1 /home/u511432137/domains/betterdiamonds.in/public_html/includes/functions.php(434): custom_my_sql_query() #2 /home/u511432137/domains/betterdiamonds.in/public_html/product_page.php(55): getProductURLByCategory() #3 /home/u511432137/domains/betterdiamonds.in/public_html/index.php(186): include_once('/home/u51143213...') #4 /home/u511432137/domains/betterdiamonds.in/public_html/controller.php(2): require_once('/home/u51143213...') #5 {main} thrown in /home/u511432137/domains/betterdiamonds.in/public_html/includes/custom_sql_functions.php on line 8