Title: Deprecated constructor
Last modified: August 30, 2016

---

# Deprecated constructor

 *  Resolved [Jacob N. Breetvelt](https://wordpress.org/support/users/opajaap/)
 * (@opajaap)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/deprecated-constructor/)
 * 16.12.2015 09:53:48 2013.opajaap.nl [client 192.168.48.0] PHP Deprecated: Methods
   with the same name as their class will not be constructors in a future version
   of PHP; wp_beta_tester has a deprecated constructor in /mnt/webc/d3/15/51893315/
   htdocs/opajaap/2013/wp-content/plugins/wordpress-beta-tester/wp-beta-tester.php
   on line 26
 * [https://wordpress.org/plugins/wordpress-beta-tester/](https://wordpress.org/plugins/wordpress-beta-tester/)

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

 *  [Justin Greer](https://wordpress.org/support/users/justingreerbbi/)
 * (@justingreerbbi)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/deprecated-constructor/#post-6856574)
 * I just wanted to chime in on this support thread. I am getting the same message.
   PHP 7 is to blame but plugin should be updated here soon.
 *  [jrobertblack](https://wordpress.org/support/users/jrobertblack/)
 * (@jrobertblack)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/deprecated-constructor/#post-6856605)
 * I think you need to use __construct() , it solved the error for me and seems 
   to work ok now
 *  Change this on line 30 in the file wp-beta-tester.php
 * `function wp_beta_tester() {`
 * to this
 * `public function __construct() {`
 *  Plugin Author [Sergey Biryukov](https://wordpress.org/support/users/sergeybiryukov/)
 * (@sergeybiryukov)
 * WordPress Dev
 * [10 years, 2 months ago](https://wordpress.org/support/topic/deprecated-constructor/#post-6856625)
 * The PHP7 deprecated constructor notice is fixed.
 *  Thread Starter [Jacob N. Breetvelt](https://wordpress.org/support/users/opajaap/)
 * (@opajaap)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/deprecated-constructor/#post-6856626)
 * Thanx!

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

The topic ‘Deprecated constructor’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-beta-tester/assets/icon-256x256.png?rev=2562317)
 * [WordPress Beta Tester](https://wordpress.org/plugins/wordpress-beta-tester/)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-beta-tester/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-beta-tester/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-beta-tester/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-beta-tester/reviews/)

 * 4 replies
 * 4 participants
 * Last reply from: [Jacob N. Breetvelt](https://wordpress.org/support/users/opajaap/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/deprecated-constructor/#post-6856626)
 * Status: resolved