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 fv.venue_publish_status = 1' at line 4 in /apps/hitra7/npfrontend/core/database/database.php:548
Stack trace:
#0 /apps/hitra7/npfrontend/core/database/database.php(548): PDOStatement->execute()
#1 /apps/hitra7/npfrontend/core/database/database.php(95): DatabaseStatementBase->execute()
#2 /apps/hitra7/npfrontend/core/database/database.php(606): DatabaseConnection->query()
#3 /apps/hitra7/npfrontend/includes/functions/new-modules-general-functions.php(31): db_query()
#4 /apps/hitra7/npfrontend/includes/functions/generic-functions.php(822): np_db_query()
#5 /apps/hitra7/drupal7/sites/all/modules/_custom/common/np_cache/np_cache.module(17): _course_price_get_venues()
#6 /apps/hitra7/npfrontend/includes/functions/generic-functions.php(811): np_static_cache_function()
#7 /apps/hitra7/npfrontend/includes/functions/generic-functions.php(541): course_price_get_venues()
#8 /apps/hitra7/npfrontend/modules/course/course.php(10): check_pricing_requirements()
#9 /apps/hitra7/npfrontend/core/routes.php(16): course_menu_callback()
#10 /apps/hitra7/npfrontend/__index.php(96): require_once('...')
#11 /apps/hitra7/npfrontend/index.php(17): include_once('...')
#12 /apps/hitra7/index.php(60): include_once('...')
#13 {main}
thrown in /apps/hitra7/npfrontend/core/database/database.php on line 548