Error en la consulta de conteo de registros: SELECT COUNT(*) FROM blog_articulos WHERE id_catblog= AND blogart_estado=1 AND blogart_aprobado_admin=1 ORDER BY blogart_fecha_reg DESC. Mysql dijo: 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 'AND blogart_estado=1 AND blogart_aprobado_admin=1 ORDER BY blogart_fecha_reg DES' at line 1