Error: SELECT vid, thumb_path, slug, title, username, owner, length, (SELECT count(*) FROM videos WHERE category = '42' AND status = 'Published') AS rows FROM videos WHERE category = '42' AND status = 'Published' ORDER BY vid DESC LIMIT 0, 12 => 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 'rows FROM videos WHERE category = '42' AND status = 'Published' ORDER BY vid DES' at line 1