We have an error
SELECT c.*,r.id,(r.total_value/r.total_votes) AS rating FROM site_ratings AS r LEFT JOIN site_content AS c ON c.id=r.id WHERE r.domain = 'mesquitetours.com' AND c.type!='Wiki' AND c.title LIKE '%Ramey%' OR c.content LIKE '%Ramey%' ORDER BY (r.total_value/r.total_votes) DESC LIMIT 0,10
Table 'dpcom_db.site_content' doesn't exist