Query Error: SELECT distinct(pu.uid),u.username FROM ph_user pu ,ultrax.pre_common_member u ,tt_BlogSettings bs,bg_items i,ph_machine pm,ph_mtype mt WHERE bs.owner=i.uid AND u.uid=pu.uid AND bs.owner=u.uid AND pu.machineid=pm.id AND pu.typeid=mt.id ORDER BY i.lastpost DESC LIMIT 6

The URL is:

MySQL server error:
Expression #1 of ORDER BY clause is not in SELECT list, references column 'hakka.i.lastpost' which is not in SELECT list; this is incompatible with DISTINCT ( 3065 )

You can get help in: