![](/images/news/previews/slovakia-u21-v-italy-u21-friendly-match.jpg)
Error Number: 1064
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 12
SELECT c.*, (SELECT username FROM acm_users WHERE id = c.user_id LIMIT 1) as username, (SELECT username FROM acm_users WHERE id = (SELECT user_id FROM acm_comments WHERE id = c.reply_id LIMIT 1) LIMIT 1) as reply, (SELECT ava_thumb FROM acm_users WHERE id = c.user_id LIMIT 1) as ava_thumb, (SELECT admin FROM acm_users WHERE id = c.user_id LIMIT 1) as admin, (SELECT id FROM acm_comments_rates WHERE uid = 0 AND cid = c.id LIMIT 1) as rated, (SELECT title FROM acm_pages WHERE id = c.page_id LIMIT 1) as page_title, (SELECT title FROM acm_media WHERE id = c.page_id LIMIT 1) as media_title, (SELECT title FROM acm_opponents WHERE id = (SELECT opponent_id FROM acm_season WHERE id = c.page_id LIMIT 1) LIMIT 1) as season_title FROM acm_comments as c WHERE
Filename: /home/arfm/sites/acmilanfan.ru/www/common/models/modcomments.php
Line Number: 200