Title: Deprecated methods on PHP7
Last modified: September 3, 2016

---

# Deprecated methods on PHP7

 *  [Pieter Bos](https://wordpress.org/support/users/senlin/)
 * (@senlin)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/deprecated-methods-on-php7/)
 * Plugin throws error on PHP7
 * > Deprecated: Methods with the same name as their class will not be constructors
   > in a future version of PHP; Debug_Bar has a deprecated constructor in /home/
   > sandboxo/public_html/wpdev/wp-content/plugins/debug-bar/debug-bar.php on line
   > 20
 * This bug already has been reported [a while back](https://wordpress.org/support/topic/php-70-deprecated-methods)
   and the solution has been posted too. But the people responsible for this plugin
   simply cannot care less it seems and this being a plugin by the WordPress Foundation
   makes you wonder what the real priority of them is to switch to PHP7…

The topic ‘Deprecated methods on PHP7’ is closed to new replies.

 * ![](https://ps.w.org/debug-bar/assets/icon.svg?rev=3050748)
 * [Debug Bar](https://wordpress.org/plugins/debug-bar/)
 * [Support Threads](https://wordpress.org/support/plugin/debug-bar/)
 * [Active Topics](https://wordpress.org/support/plugin/debug-bar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/debug-bar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/debug-bar/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Pieter Bos](https://wordpress.org/support/users/senlin/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/deprecated-methods-on-php7/)