custom post type paging not working past page 3

%1$s besuchencustom post type paging not working past page 3

Don’t run custom queries in the template to modify query parameters. The main query runs before the template is loaded