Page URL:
Script Info: block_articles_random.php
Database error: Invalid SQL: SELECT a.article_id FROM ((((va_articles a LEFT JOIN va_articles_assigned aa ON a.article_id=aa.article_id ) LEFT JOIN va_articles_categories c ON aa.category_id=c.category_id ) LEFT JOIN va_articles_statuses st ON a.status_id=st.status_id ) LEFT JOIN va_articles_categories_sites AS cs ON cs.category_id=c.category_id ) WHERE (c.category_id = 5 OR c.category_path LIKE '0,5,%') AND st.allowed_view=1 AND (a.is_draft=0 OR a.is_draft IS NULL) AND (c.sites_all=1 OR cs.site_id IN (2)) AND (c.guest_access_level&2) GROUP BY a.article_id ORDER BY GROUP BY a.article_idRAND() LIMIT 0, 1
MySQL Error: 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 'GROUP BY a.article_idRAND() LIMIT 0, 1' at line 1