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 '' at line 28SQL-Server meldet: 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 '' at line 28
SQL: SELECT SQL_CALC_FOUND_ROWS DISTINCT ar.id, ar.urltext, arx.title, arx.subtitle, arx.teaser, arx.fulltext, ar.created_by, ar.image, ar.article_image_text AS image_text, ar.use_fblike, UNIX_TIMESTAMP(ar.published) AS published, ar.`order`, ar.`orderhome`, cg.id AS category_id, cg.name AS category_name, cg.urltext AS category_urltext, cg.description AS category_description, cg.category_order AS category_order, ar.formular_switch, ar.hits, ar.price_inkl_vat, ar.shop_link FROM artikel AS ar LEFT JOIN artikel_texte AS arx ON (ar.id = arx.id AND arx.locale = 'de_DE') LEFT JOIN kategorien AS cg ON cg.id = ar.category_id WHERE 1=1 AND cg.urltext = 'news' AND ar.project_id = 183 AND ar.public = 1 AND ar.deleted IS NULL AND IF(ar.public_from, UNIX_TIMESTAMP(ar.public_from) < UNIX_TIMESTAMP(NOW()), 1) AND IF(ar.public_until, UNIX_TIMESTAMP(ar.public_until) > UNIX_TIMESTAMP(NOW()), 1) ORDER by published desc Limit 0,