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 ') ORDER BY item.sort_order' at line 11SELECT DISTINCT item.* , item_page_alias.extra_value AS page_alias FROM oak_widgets_items AS item INNER JOIN oak_widgets_item_extras AS item_page_alias ON item_page_alias.extra_value = "sub-category" AND item_page_alias.extra_variable = "page_alias" AND item_page_alias.item_id = WHERE 1 AND item.widget_id IN() ORDER BY item.sort_order