Couldn't execute query:

select s_id, s_name, st_name, s_destroyed, s_alpha_sort, (s_img+s_links+s_gaz+s_news+s_folk+s_other) AS posts, s_children from ma_sites, ma_site_types where s_name like '%Diarmid's Grave%' and s_type=st_id and s_online='Y' order by s_name.

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 's Grave%' and s_type=st_id and s_online='Y' order by s_name' at line 1