Critical 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 'and mimetype like 'image%' and kein_bildnachweis=0 and autor != '' and autor != ' at line 1


File: /var/www/vhosts/web75.menke1.your-host.de/httpdocs/kunstkreis/cms/core/Wosonst2_Db.php Line: 74



Call Stack

PDO::query( 'select count(ID) from files where nodes_ID = and mimetype like 'image%' and kein_bildnachweis=0 and autor != '' and autor != 'Array' order by autor asc, ID asc' )
File: Wosonst2_Db.php Line: 74

Wosonst2_Db::query( 'select count(ID) from files where nodes_ID = and mimetype like 'image%' and kein_bildnachweis=0 and autor != '' and autor != 'Array' order by autor asc, ID asc' )
File: module.php Line: 58

module_bildnachweis::pageAction( )
File: index.php Line: 251