Title: password-protected/admin/admin-bar.php Deprecated with debug
Last modified: March 27, 2024

---

# password-protected/admin/admin-bar.php Deprecated with debug

 *  Resolved [Luc](https://wordpress.org/support/users/lull/)
 * (@lull)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/password-protected-admin-admin-bar-php-deprecated-with-debug/)
 * Hello ! thanks for your plugin, it’s easy to use and very usefull. But with debug
   mode on I’ve this message : [https://prnt.sc/ekFbqdsXgm6a](https://prnt.sc/ekFbqdsXgm6a)
   
   Can you see this please ?
 * Thanks !!!

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [furqanfazal](https://wordpress.org/support/users/furqanfazal/)
 * (@furqanfazal)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/password-protected-admin-admin-bar-php-deprecated-with-debug/#post-17532156)
 * Hi [@lull](https://wordpress.org/support/users/lull/),
 * I hope you are doing well.
 * These are the deprecated warnings and do not affect the functionalities of the
   plugin. We will look into it and if we find something we will fix this in the
   upcoming release.
 * Thanks and regards,
   Support Team – WPExperts  
 *  Thread Starter [Luc](https://wordpress.org/support/users/lull/)
 * (@lull)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/password-protected-admin-admin-bar-php-deprecated-with-debug/#post-17532610)
 * OK thanks !
 *  [Matthias Kittsteiner](https://wordpress.org/support/users/kittmedia/)
 * (@kittmedia)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/password-protected-admin-admin-bar-php-deprecated-with-debug/#post-17720931)
 * Any news on this? The fix here is very trivial by replacing `get_class()` with`
   self::class`. But it extensively fills the debug.log.
 *  Plugin Support [M Haseeb](https://wordpress.org/support/users/haseeb0001/)
 * (@haseeb0001)
 * [2 years ago](https://wordpress.org/support/topic/password-protected-admin-admin-bar-php-deprecated-with-debug/#post-17730921)
 * Hi [@kittmedia](https://wordpress.org/support/users/kittmedia/)
 * We’ve addressed this issue in our beta version, and once we’ve thoroughly tested
   it, we’ll be releasing the updated version soon.
 * Thanks and regards,
   Support Team – WPExperts  

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘password-protected/admin/admin-bar.php Deprecated with debug’ is closed
to new replies.

 * ![](https://ps.w.org/password-protected/assets/icon-128x128.gif?rev=2824217)
 * [Password Protected — Lock Entire Site, Pages, Posts, Categories, and Partial Content](https://wordpress.org/plugins/password-protected/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/password-protected/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/password-protected/)
 * [Active Topics](https://wordpress.org/support/plugin/password-protected/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/password-protected/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/password-protected/reviews/)

 * 4 replies
 * 4 participants
 * Last reply from: [M Haseeb](https://wordpress.org/support/users/haseeb0001/)
 * Last activity: [2 years ago](https://wordpress.org/support/topic/password-protected-admin-admin-bar-php-deprecated-with-debug/#post-17730921)
 * Status: resolved