Title: PHP 7 Bug
Last modified: March 8, 2017

---

# PHP 7 Bug

 *  Resolved [NetzzJD](https://wordpress.org/support/users/netzzjd/)
 * (@netzzjd)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/php-7-bug/)
 * With WP_DEBUG turned on, StaffList plugin shows an error:
    Deprecated: Methods
   with the same name as their class will not be constructors in a future version
   of PHP; stafflist has a deprecated constructor in wp-content\plugins\stafflist\
   stafflist.php on line 398
 * Running PHP Version 7.0.7. You can no longer use the same name for a function
   that is within a class:
 * class stafflist {
    function stafflist() {
 *  }
    }

Viewing 1 replies (of 1 total)

 *  Plugin Author [ERA404](https://wordpress.org/support/users/era404/)
 * (@era404)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/php-7-bug/#post-8891057)
 * This change made in minor release 2.1.3.
    [https://wordpress.org/plugins/stafflist/changelog/](https://wordpress.org/plugins/stafflist/changelog/)
   Thank you, NetzzJD.

Viewing 1 replies (of 1 total)

The topic ‘PHP 7 Bug’ is closed to new replies.

 * ![](https://ps.w.org/stafflist/assets/icon-256x256.png?rev=1109669)
 * [StaffList](https://wordpress.org/plugins/stafflist/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/stafflist/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/stafflist/)
 * [Active Topics](https://wordpress.org/support/plugin/stafflist/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/stafflist/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/stafflist/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [ERA404](https://wordpress.org/support/users/era404/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/php-7-bug/#post-8891057)
 * Status: resolved