Reason: Invalid SQL: SELECT *,permission_cache.target IS NOT NULL as __permc_valid FROM object LEFT JOIN permission_cache ON (permission_cache.oid = uniqueid AND permission_cache.uid = 2 AND permission_cache.site = 1 AND permission_cache.action = 'read') where (uniqueid in (,7,449))AND (iid_type = 3 and iid & 1) AND (permission_cache.target is null or permission_cache.target = 1) order by parents
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 '7,449))AND (iid_type = 3 and iid & 1) AND (permission_cache.target is null or pe' at line 1