Hi,
Thanks for informing. I have added the changes in version 14.0.2 of the plugin. Please update the plugin. If you like the plugin please rate and review it.
Thanks & Regards,
Pankaj
@gurudeb Please note that your last update (v14.0.2), is causing an issue with caching.
After I activate your plugin and visit the homepage of the website, the admin bar doesn’t appear (it’s like I’m logged out).
To fix it, I have to hit SHIFT+F5, which deletes the browser cache.
This didn’t happen before.
Hi @tanohex,
In last update only a null check was added. Is this issue occurring for only 1 time or is it happening for each activation/deactivation? Could you please open your website in incognito browser mode as well?
Thanks & Regards,
Pankaj
@gurudeb Yeah, basically when the plugin is disabled, after I log in, I can see the admin toolbar in the frontend.
When I enable the plugin and log in, to see the admin toolbar, I have to first refresh the page.
(both tests done in an incognito window)
I don’t remember this to be happening before.
It’s like the plugin now needs to first do a cache flush, by refreshing the page.
PS: On this setup, I’m also using the Divi Theme, with its caching system enabled.
Exact way to reproduce the issue on my setup:
– Install your plugin and logout
– Delete the entire browser cache, cookies etc.
– Visit the website
– Access wp-admin and login
– Visit the main page
=> Result: the admin bar doesn’t appear. Refresh the page, still no bar.
=> Shift+Refresh, the admin bar appears.
Thanks!