Warning: Header may not contain more than a single header, new line detected in C:\domains\nautamaritiem.nl\wwwroot\libraries\joomla\application\web.php on line 947
1064 - Fout: 1064

1064

Fout: 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 'AND a.ordering < AND a.published = 1 ' at line 11 SQL=SELECT a.prosperity_item_id FROM #__prosperity_items as a WHERE a.prosperity_item_id = ( SELECT a.prosperity_item_id FROM #__prosperity_items AS a LEFT JOIN #__prosperity_item_categories AS b ON (b.prosperity_item_id = a.prosperity_item_id) LEFT JOIN #__prosperity_categories AS c ON (c.prosperity_category_id = b.prosperity_category_id) WHERE b.prosperity_category_id = AND a.ordering < AND a.published = 1 AND c.published = 1 HAVING (SELECT count(prosperity_media_id) FROM #__prosperity_item_media WHERE prosperity_item_id = a.prosperity_item_id) > 0 ORDER BY a.ordering DESC LIMIT 1 )