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 '= 1 AND Active = 1 Order BY CatalogueName ASC' at line 1 in /var/www/vhosts/ktrade.kz/httpdocs/controllers/catalogues.php:77
Stack trace:
#0 /var/www/vhosts/ktrade.kz/httpdocs/controllers/catalogues.php(77): mysqli->query('SELECT * FROM c...')
#1 /var/www/vhosts/ktrade.kz/httpdocs/system/route.php(33): require('/var/www/vhosts...')
#2 /var/www/vhosts/ktrade.kz/httpdocs/index.php(15): require('/var/www/vhosts...')
#3 {main}
thrown in /var/www/vhosts/ktrade.kz/httpdocs/controllers/catalogues.php on line 77