Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 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 frt.language = 'en'
AND frt.region_publish_status = 1' at line 11 in /apps/hitra7/npfrontend/core/database/database.php:251
Stack trace:
#0 /apps/hitra7/npfrontend/core/database/database.php(251): PDOStatement->execute()
#1 /apps/hitra7/npfrontend/core/database/database.php(48): DatabaseStatementBase->execute()
#2 /apps/hitra7/npfrontend/core/database/database.php(301): DatabaseConnection->query()
#3 /apps/hitra7/npfrontend/includes/functions/new-modules-general-functions.php(62): db_query()
#4 /apps/hitra7/npfrontend/includes/functions/category-functions.php(112): np_db_query()
#5 /apps/hitra7/npfrontend/modules/course/course.php(22): get_category_regions()
#6 /apps/hitra7/npfrontend/core/routes.php(15): course_menu_callback()
#7 /apps/hitra7/npfrontend/__index.php(81): require_once('...')
#8 /apps/hitra7/npfrontend/index.php(15): include_once('...')
#9 /apps/hitra7/index.php(68): include_once('...')
#10 {main}
thrown in /apps/hitra7/npfrontend/core/database/database.php on line 251