Error fetching array from MySQL result derived from MySQL query: »SELECT `cat_id` FROM `gallery` WHERE `id`=509 ORDER BY RAND() LIMIT 2;«