SELECT failed: DB Error: syntax error
SELECT news.id,
news.id_category,
category.title AS categoryTitle,
category.short_url AS categoryUrl,
parentcategory.title AS parentcategoryTitle,
parentcategory.short_url AS parentcategoryUrl,
news.headline,
news.subline,
news.short_text,
news.long_text,
news.pdf,
news.pdf_title,
news.slideshow,
news.catalog,
news.link,
news.link_title,
news.short_url,
news.keywords,
news.date_start,
news.date_end,
news.img_available,
position.position
FROM cms_de_news_selection AS selection
INNER JOIN cms_de_news AS news ON selection.id_news = news.id
INNER JOIN cms_de_news_position AS position ON selection.id_news = position.id_news
INNER JOIN cms_de_news_categories AS category ON selection.id_category = category.id
INNER JOIN cms_de_news_categories AS parentcategory ON category.id_parent = parentcategory.id
WHERE news.status = 'online'
AND selection.id_category IN ()
AND position.id_category IN ()
AND category.hidden = 0
AND selection.status = 'active'
GROUP BY news.id ORDER BY category.position, position.position ASC LIMIT 50