WordPress user login issue
This support request was posted in Smart by atamizio
- atamizio September 26, 2017 at 12:50 pm
Hi,
I created a user as an author. Now when i login. I see nothing but empty screen, but when go to the front end i can see the admin bar. But nothing in the back-end show up. I disabled all the plugins and tried with no success. At last I changed the theme temporarily, voila it worked. I thought the latest update might fix it, but it didn’t please help me.
Thanks in advance
AliJuanfra Aldasoro September 26, 2017 at 1:34 pmHi Ali,
I hope you are doing well.
This issue is not theme related. You have created a user with the “Author” role, that’s why when you log in with that credentials you see nothing in the admin.
You can learn more about WordPress user roles here: http://www.wpbeginner.com/beginners-guide/wordpress-user-roles-and-permissions/
Best,
Juan.atamizio September 26, 2017 at 1:58 pmhi,
When I login with that user nothing shows up. But when I change the theme and try to login as that user, now I see everything an author should see in the back end such as posts, media etc.
The “Author” role, must be able (at least) write a new post. But I cant even do that. when i click new post from the front end it takes me to an empty screen. Once again when i change the theme i can write posts.
I’m pretty sure this is theme related. Please try and login with the credentials i have provided. You’ll see for yourself.
ali
Juanfra Aldasoro September 26, 2017 at 2:02 pmHello Ali,
Thanks for the follow-up.
What happens if you set the WP_DEBUG to true (https://codex.wordpress.org/Debugging_in_WordPress) and you log in? Does it show any message?
Best,
Juan.Juanfra Aldasoro September 26, 2017 at 2:19 pmHi Ali,
Thanks for the follow-up. We’ll be investigating this issue and including a fix for it in the upcoming version.
In the meantime, you can fix it by adding the following function to your theme functions.php file: https://gist.github.com/juanfra/365c3873ac36846ed4533c3c08edcb08
Best,
Juan.Juanfra Aldasoro September 26, 2017 at 5:01 pmHi Ali,
Thank you for your patience.
Have a nice day,
Juan.
This topic is marked as resolved
Only the topic author can re-open this thread.