PostHeaderIcon Neue Produkte

1064 - 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 '-0, 0' at line 1

select max(p.items_id), p.items_id, pd.items_name, p.items_picture, p.items_price, p.items_tax_class_id, p.items_date_added, p.items_model, m.producers_name, s.specials_new_items_price, p.delivery_time_id from (((items p, categories c, items_to_categories p2c) left join producers m on (p.producers_id = m.producers_id) left join specials s on p.items_id = s.items_id), items_description pd) where c.categories_status=1 and p.items_id = p2c.items_id and c.categories_id = p2c.categories_id and p.items_status = '1' and p.items_id = pd.items_id and pd.language_id = '5' AND (to_days(items_date_available_end) IS NULL OR (to_days(items_date_available_end) IS NOT NULL AND to_days(now()) <= to_days(items_date_available_end))) GROUP BY p.items_id order by p.items_date_added DESC, pd.items_name limit -0, 0