A fatal MySQL error occured.

Query:
SELECT id, description_short, short_description_size, title, friendly_url, date, listing_address1, listing_address2, listing_zip, location_id, location_text_1, location_text_2, location_text_3, phone FROM pmd_V1_listings WHERE status = 'active' AND featured = 1 GROUP BY pmd_V1_listings.id ORDER by RAND(), pmd_V1_listings.priority LIMIT 0, 5ArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArray

Error:
(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 '5ArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArra' at line 22