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 productStatus = 1 ORDER BY productId DESC LIMIT 12 OFFSET 0' at line 1 in /var/www/soulmates.lk/category.php:49
Stack trace:
#0 /var/www/soulmates.lk/category.php(49): mysqli->query()
#1 {main}
thrown in /var/www/soulmates.lk/category.php on line 49