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 'ON dnt.entity_id = n.nid
WHERE n.status = 1 AND
title.bundle = 'blog_...' at line 32 in /apps/hitra7/npfrontend/core/database/database.php:294
Stack trace:
#0 /apps/hitra7/npfrontend/core/database/database.php(294): PDOStatement->execute()
#1 /apps/hitra7/npfrontend/core/database/database.php(60): DatabaseStatementBase->execute()
#2 /apps/hitra7/npfrontend/core/database/database.php(352): DatabaseConnection->query()
#3 /apps/hitra7/npfrontend/includes/functions/new-modules-general-functions.php(31): db_query()
#4 /apps/hitra7/npfrontend/includes/functions/blog-post-functions.php(105): np_db_query()
#5 /apps/hitra7/npfrontend/includes/functions/blog-post-functions.php(29): hrquery_blogs_get_single()
#6 /apps/hitra7/npfrontend/modules/sitemap/sitemap.php(17): hrquery_blogs_get_all()
#7 /apps/hitra7/npfrontend/core/routes.php(16): sitemap_menu_callback()
#8 /apps/hitra7/npfrontend/__index.php(101): require_once('...')
#9 /apps/hitra7/npfrontend/index.php(17): include_once('...')
#10 /apps/hitra7/index.php(67): include_once('...')
#11 {main}
thrown in /apps/hitra7/npfrontend/core/database/database.php on line 294