DatabaseException

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 4 QUERY: SELECT ee.guid , ems1.string as "name" , ems2.string as "value"
FROM elgg_metadata emd, elgg_entities ee, elgg_metastrings ems1 , elgg_metastrings ems2
WHERE ee.guid = emd.entity_guid and ee.type = "group" and ems1.id =emd.name_id
and ems1.string like "%enable%" and ems2.id = emd.value_id and ee.guid =