System error

SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

An error has occured in file /var/www/virtual/vv.vnci.nl/lib/helpers/classes/dbase.helper.php on line 62
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

Stacktrace:

#0 /var/www/virtual/vv.vnci.nl/lib/helpers/classes/dbase.helper.php(62): PDO->query('SELECT tbl_down...', 2)
#1 /var/www/virtual/vv.vnci.nl/lib/models/default.model.php(1612): dbase->query('SELECT tbl_down...')
#2 /var/www/virtual/vv.vnci.nl/lib/controllers/core/download.controller.php(62): DefaultModel->getRelations('tbl_group')
#3 /var/www/virtual/vv.vnci.nl/lib/controllers/core/app.controller.php(279): DownloadController->actionGet()
#4 /var/www/virtual/vv.vnci.nl/lib/controllers/core/app.controller.php(100): App->dispatchRequest()
#5 /var/www/virtual/vv.vnci.nl/lib/controllers/core/app.controller.php(62): App->bootstrap()
#6 /var/www/virtual/vv.vnci.nl/index.php(49): App::start()
#7 {main}

Last query:SELECT tbl_downloadgroup_x_group_group AS relid FROM tbl_downloadgroup_x_group WHERE tbl_downloadgroup_x_group_downloadgroup = 


Back