Unable to run pageCountYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND showinmenu=1' at line 1SELECT count(DISTINCT c.id) as recCount FROM categories c WHERE 1 AND c.`Deleted`=0 AND parentId= AND showinmenu=1