Fatal error: SafeMySQL: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')
GROUP BY m.id
ORDER BY m.num_users DESC
LIMIT 0, 30' at line 23. Full query: [
select
m.id,m.sponsor,m.username,m.num_users,
m.display_name, m.gender,m.age,m.birthday,m.location,m.spoken_languages as languages,
m.ethnicity,m.hair_color,m.pubic_hair,m.banned_loc,
m.num_followers as followers,m.seconds_online,m.num_users,m.room_subject,m.tag_base,
m.image_url_360x270 as live_image,m.iframe_embed_revshare as iframe,
m.chat_room_url_revshare as room_url,m.last_online,
GROUP_CONCAT(distinct s3.image) AS images,
(SELECT GROUP_CONCAT(t.tag_name order by t.tag_id desc)
FROM tags_mainmaster as tm,tags as t
WHERE m.id = tm.mainmaster_id and tm.tag_id=t.tag_id
) as tags_names
from mainmaster m
INNER JOIN site_4 AS s3 ON m.id=s3.mainmaster_id
INNER JOIN tags_mainmaster tm on m.id=tm.mainmaster_id
INNER JOIN tags t on t.tag_id = tm. in /home/cappa/cameffect.com/mstr/safe.php on line 549