Query Error: Unknown column 'r' in 'where clause'
SQL: SELECT p.id, p.cname, t.filename AS contentfile, l.templatefile AS layoutfile, t.id AS template_id FROM pages p INNER JOIN pageversions pv ON pv.id = p.published_pageversions_id INNER JOIN templates t ON t.id = p.templates_id INNER JOIN layouts l ON l.id = t.layouts_id WHERE p.isdeleted = 0 AND p.sites_id = '1' AND p.languages_id = 1 AND p.url = 'templates/main/js/gulpified/'+r+'' An error has been encountered while accessing the database. Please try again later.