MySQL error:

Query: SELECT * FROM image WHERE imageID=

at line 56 in file /var/sites/m/monasticwales.org/public_html/admin/db_config.inc.php

Error message: 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