Database Problem
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 ')
ORDER BY rnd
LIMIT 1' at line 3
SELECT id, REVERSE(RAND(NOW())) AS rnd
FROM vdbvideodata
WHERE mediatype != 50 AND owner_id IN ()
ORDER BY rnd
LIMIT 1