Error in the consult.. You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') WHERE build.active = 1' at line 5SELECT html.page_path, html.is_home FROM oak_content_builds AS build INNER JOIN oak_content_builds_html AS html ON (html.build_id = build.id AND html.page_id = ) WHERE build.active = 1;