Maybe this will describe it better:
Code:
Database error in vBulletin 3.7.4:
Invalid SQL:
SELECT c.*,fromu.userid AS fromuserid,fromu.username AS fromusername,fromu.usergroupid AS fromusergroupid,fromu.displaygroupid AS fromdisplaygroupid,
tou.userid AS touserid,tou.username AS tousername,tou.usergroupid AS tousergroupid,tou.displaygroupid AS todisplaygroupid,
avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline, customavatar.width AS avwidth, customavatar.height AS avheight,
customavatar.height_thumb AS avheight_thumb, customavatar.width_thumb AS avwidth_thumb, customavatar.filedata_thumb,
fromu.avatarid,fromu.avatarrevision
FROM vb3_mgc_cb_evo_chat AS c
LEFT JOIN vb3_user AS fromu ON (c.fromuid=fromu.userid)
LEFT JOIN vb3_user AS tou ON (c.touid=tou.userid)
LEFT JOIN vb3_avatar AS avatar ON (avatar.avatarid = fromu.avatarid)
LEFT JOIN vb3_customavatar AS customavatar ON (customavatar.userid = fromu.userid)
WHERE (
chanid='0'
AND coidentifier IN ('0')
AND (touid='0' OR fromuid='17654'
OR touid='17654')
AND iswarning='0'
)
ORDER BY sticky DESC,c.dateline DESC
LIMIT 15;
MySQL Error : Unknown column 'iswarning' in 'where clause'
Error Number : 1054
Request Date : Sunday, January 11th 2009 @ 04:17:28 AM
Error Date : Sunday, January 11th 2009 @ 04:17:28 AM
Script : http://www.mysite.com/forum/mgc_cb_evo_ajax.php
I am getting loads of these.