Custom template page with custom archives listing by user

Consider removing that extra the_post(); after $the_query->the_post();.

That will solve the problem. You may just use that once on the Query object. You have a custom quesry, then just call it on that exact object is required.

tech