CODE 102 ERROR!

There is something wrong with this query!
DELETE FROM maj_whoisonline WHERE (lastactive < '1408764777') OR (ipaddress = '54.83.122.29')

Check your SQL syntax and try again.