There has been an SQL query error on http://www.lomitacoc.com/. The details of the error are:
To suppress this message in production mode please set PRODUCTION_MODE to "Y" in the config file.
You have an error in your SQL syntax near 'SELECT MAX(date_published)
FROM forumpost AS f_inner
WHERE (f_outer.i' at line 2
SELECT f_outer.id, f_outer.title, (
SELECT MAX(date_published)
FROM forumpost AS f_inner
WHERE (f_outer.id = f_inner.id OR f_outer.id = f_inner.parent_id)
) AS lastpost
FROM forumpost AS f_outer
WHERE f_outer.topic_id = '1'
AND (f_outer.parent_id IS NULL OR f_outer.parent_id = 0)
ORDER BY lastpost DESC