WordPress User Level Null   

Jun 10th, 2011 // In: Wordpress // By: Comments 0

For weeks people have been telling me that they cannot access the download page for my plugins. The download page is in the administration area and the page has code to check the users level. The page also checks that the user purchased the product they are trying to access but this happens after the standard WordPress user level is checked. The problem was that the user_level value was returning NULL. I’m sure a subscribers level is 1. I’ve got no idea why WordPress is not initialising this value but the fix is simply to change the users level, save then change it again by to what it is meant to be then save.

Leave a Reply

You must be logged in to post a comment.