Hi @thorned-rose,
Thank you for the details and for testing this in troubleshooting mode.
It looks like the screenshot wasn’t attached to your message, so I couldn’t see the issue you’re describing. Could you please attach it again so I can take a closer look?
Thanks for your cooperation!
Thread Starter
Rose
(@thorned-rose)
I edited the original post to have the image. But here’s the direct link: https://i.postimg.cc/6tT6vKmD/Screenshot-20261117-154509.png
Hi @thorned-rose,
Thanks for the screenshot.
The list in “Hide admin bar items” is built from the toolbar items the plugin saves as you move around the dashboard. Your site uses a persistent object cache, and it looks like it may be serving an empty copy of that saved list. Could you try this?
- Purge your object cache (in LiteSpeed Cache: Toolbox → Purge All, or flush Redis/Memcached from your hosting panel).
- Open the Dashboard once.
- Go back to Settings → Disable Admin Notices → Hide admin bar items.
Let us know if the items show up after that, and we’ll take it from there.
Thread Starter
Rose
(@thorned-rose)
Thanks for that! That did indeed work to show the list.
I tried fixing this myself but it’s not saving anything except the last item changed.
1. Purge all
2. Turn off “About WordPress”, “Comments” and “New” in that order
3. Refresh page
4. Items are gone again
5. Purge all again
5. Only the the last item turned off (“New”) is still turned off.
I also added the following to Litespeed’s Excludes:
Do Not Cache Query Strings:
?page=wdan_settings-wbcr_dan
?page=wdan-notices-wbcr_dan
?page=wdanp-edit-redirects-wbcr_dan
?page=wdanp-edit-admin-bar-wbcr_dan
But that didn’t make any difference. Any refresh of the page after purging all makes the list disappear again. Even setting Do not cache the Administrator role doesn’t make any difference.
EDIT: In the Object Cache Settings, “Cache WP-Admin” is turned off. Memcached is enabled and Redis is not. (In case it matters.)
Sorry, I was hoping to be able to work it out from there myself.
-
This reply was modified 3 days, 19 hours ago by
Rose.
-
This reply was modified 3 days, 19 hours ago by
Rose. Reason: Added more details
Hi @thorned-rose,
Thank you for testing all of that so carefully. Your notes pinned it down: this isn’t the page cache, it’s how the plugin’s settings interact with LiteSpeed’s object cache (Memcached) when “Cache WP-Admin” is off. In that mode the plugin can end up reading its saved settings as empty, which is why the list disappears again and why each change overwrites the previous one.
Could you try this?
- Go to LiteSpeed Cache → Cache → Object.
- In “Do Not Cache Groups”, add this on its own line: wbcr_dan_options
- Save, then Purge All.
- Open Hide admin bar items, turn off the items you want, and refresh to check they stick.
You can remove the “Do Not Cache Query Strings” entries you added, since they should not affect this.
This may also be why the Wordfence notice keeps coming back, so it’s worth hiding it again after this change. Let us know how it goes!
Thread Starter
Rose
(@thorned-rose)
Amazing, that fixed it! I didn’t even need to hide the Wordfence notice again as it was already there when I checked the Hidden Notices after adding the Do Not Cache Groups line. 🎉️
Thanks for your help!!
Glad we got it working! 😊