Change WordPress user roles and capabilities › Forums › Bug Reports › Additional Options: Hide admin bar
Tagged: hide admin bar
- This topic has 4 replies, 3 voices, and was last updated 6 years, 4 months ago by
Vladimir.
-
AuthorPosts
-
11/01/2017 at 04:37 #3224
dalkid75
ParticipantHaving a major issue. I ticked the checkbox to hide the admin bar for a newly created user role.
I tried to log into the system by the wp admin url and it now the just reverts to the domain.com and never shows the admin area.
I then logged under admin role and un ticked this box and it still doesn’t load the wp-admin area at all. Any ideas to resolve this issue? I guess I can delete the role and start over… but just wanted to see if any has had the issue before.
Thanks,
WP Version 4.6.1
PHP 5.6.25
MSQL 5.6.3011/01/2017 at 05:21 #3225Vladimir
KeymasterI suppose that “Hide admin bar” checkbox is not a reason of this problem.
Do you use WooCommerce? If yes, read this post.11/01/2017 at 05:33 #3226dalkid75
ParticipantI do have WooCommerce but not using it. I have resolved this issue. Thanks for the info.
25/07/2019 at 20:11 #5848Rose Ting
ParticipantHi
I am also having the same problem.I don’t have WooCommence.
I set up a new role. I could see the admin bar fine.
I then ticked the hide admin bar. It hid it but when I tried to untick it, I couldn’t get the admin back.
I cleared the server and browser caches over and over and also disabled the cache plugin to no avail.
I then tried to get to it by entering
https://myaddress/wp-admin/post-new.php?post_type=bulletin
I got there but the left hand admin menu contained a weird selection of options, none of which were the ones selected on the admin menu.
I have created a new role now with a different name and copied Author and avoided the hide admin bar box to get around it which worked fine.
However when I then deleted the old user role and re-created it by copying Author, it still had the same problem which implies there is a cache somewhere which I can’t clear?
Have you any ideas or maybe the dalkid75 could let me know how he got out of the fix.
Many thanks
Sheila
01/08/2019 at 03:16 #5858Vladimir
KeymasterHi Sheila,
Hiding admin bar should not prevent access to the wp-admin. I suppose that you have some plugin which has option like ‘prevent access to wp-admin’ in its settings. Try to deactivate all plugins. Will user with such custom role get access to wp-admin? If ‘Yes’, then activate plugins back one by one with new test in order to isolate one which causes a problem.
-
AuthorPosts
- You must be logged in to reply to this topic.