Error! mysql_select_db(belagro)
Commands out of sync; you can't run this command now

MySQL Query Error: SELECT 'x' FROM b_agent WHERE ACTIVE = 'Y' AND NEXT_EXEC <= now() AND (DATE_CHECK IS NULL OR DATE_CHECK <= now()) LIMIT 1 [Commands out of sync; you can't run this command now]

DB query error.
Please try later.