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 'AND `status` = '1'' at line 1 in /bs/clients/hellodiamonds.com/code/includes/custom_mysqli_functions.php:9 Stack trace: #0 /bs/clients/hellodiamonds.com/code/includes/custom_mysqli_functions.php(9): mysqli_query() #1 /bs/clients/hellodiamonds.com/code/includes/functions.php(601): custom_my_sql_query() #2 /bs/clients/hellodiamonds.com/code/product_page.php(22): getCategoryURL() #3 /bs/clients/hellodiamonds.com/code/index.php(130): include_once('...') #4 /bs/clients/hellodiamonds.com/code/controller.php(2): require_once('...') #5 {main} thrown in /bs/clients/hellodiamonds.com/code/includes/custom_mysqli_functions.php on line 9