I'm using WP to run a database where users can add data as posts.
Every user has a profile, that list contact info, bio and all the posts the user has. I'm using the
author.php template for that.
The problem is that if user has no posts and somebody tries to view the profile it goes to the Admin profile (user ID 1). Any idea why is that?