Error in file 'comax.pl': Method 'process' of class 'MTemplate' returned the following error:
Error while evaluating 'articles.actual' in module 'MTemplate.pm' caused by:
Couldn't execute 'SELECT DISTINCT articles.ID AS ID, articles.title AS title, articles.synopsis AS synopsis, DATE_FORMAT(articles.dop, '%Y-%m-%d') AS dop, articles.icon AS icon, categories.title AS category FROM categories INNER JOIN article_categories ON categories.ID = article_categories.category INNER JOIN articles ON article_categories.article = articles.ID INNER JOIN article_authors ON articles.ID = article_authors.article WHERE article_categories.category = AND articles.dop <= NOW() ORDER BY articles.dop DESC'
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 'AND articles.dop <= NOW() ORDER BY articles.dop DESC' at line 1