Fatal error: Uncaught exception 'Exception' with message 'SQL: 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 's Cat%'
) AS tt ON t.id=tt.topic_id
WHERE (t.date>0) A' at line 13
Query: SELECT
t.*
FROM
users as u,
topics as t
LEFT JOIN blogs as b on t.pid=b.id
JOIN (
SELECT
`topic_id`
FROM `topics_tags`
WHERE `tag` LIKE '%Simon's Cat%'
) AS tt ON t.id=tt.topic_id
WHERE (t.date>0) AND t.user=u.id GROUP by t.id' in /var/www/deepro/data/www/blog.freegeo.ru/classes/engine/DB.php:23
Stack trace:
#0 /var/www/deepro/data/www/blog.freegeo.ru/classes/engine/Model.php(105): Engine\DB->query('SELECT ??????t....')
#1 /var/www/deepro/data/www/blog.freegeo.ru/classes/models/Topic.php(91): Engine\Model->getRows(Object(Engine\QueryBuilder))
#2 /var/www/deepro/data/www/blog.fr in /var/www/deepro/data/www/blog.freegeo.ru/classes/engine/DB.php on line 23