DB_CONNECTOR_XP - Query Error:

Errors enabled: 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 '' at line 1
UPDATE BLOG SET view_count = view_count+1 where BLOGID =

Backtrace:

#0 /rp_framework/DB_connector.class.php(111): DB_connector->query('UPDATE BLOG SET...', Object(mysqli))
#1 /themes/mxp/controller/article.php(4): DB_connector->new_query('UPDATE BLOG SET...', true)
#2 /_controller.php(67): include_once('/home/mscxp/pub...')
#3 /_settings.php(182): require_once('/home/mscxp/pub...')
#4 /index.php(11): include_once('/home/mscxp/pub...')
#5 {main}