I recently restored my WordPress site to a previous backup (dated yesterday). After the restoration:
The admin toolbar is missing on the homepage.
After some time, it disappeared on all pages of the site.
I am logged in as an administrator, and other admin functionalities are working.
Here are my current environment details:
WordPress version: 6.x.x
PHP version: 8.x
Active theme: Woodmart (premium)
Active plugins: Elementor Pro, Dokan Pro, WooCommerce, LiteSpeed Cache, WPForms Lite, and others.
Cache / CDN: LiteSpeed Cache + Cloudflare (if relevant)
Cleared browser cache and cookies.
Deactivated all plugins → still no admin toolbar.
Switched to default theme (Twenty Twenty-Three) → admin toolbar appeared.
Checked user roles → administrator.
Why is the admin toolbar missing after restoring the backup?
How can I make it appear again on all pages without affecting the site?