One Fighting Championship

DB function failed with error number 1064
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 yp.ordering,yv.ordering' at line 1 SQL=SELECT yv.*,yp.title as ptitle FROM ofcv2_ytvideos as yv, ofcv2_ytplaylists as yp WHERE yp.published = 1 AND yv.published = 1 AND yp.id = yv.pid AND yp.id = ORDER BY yp.ordering,yv.ordering