Title: called constructor method deprecated
Last modified: August 30, 2016

---

# called constructor method deprecated

 *  [sunilwilliams](https://wordpress.org/support/users/sunilwilliams/)
 * (@sunilwilliams)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/called-constructor-method-deprecated/)
 * If I deploy the plugin while I have WP_Debug set to true: admin screens are plastered
   with this notice:
 * `Notice: The called constructor method for WP_Widget is <strong>deprecated</strong
   > since version 4.3.0! Use <pre>__construct()</pre> instead. in /var/www/piratesbreakdown/
   wp-includes/functions.php on line 3457`
 * This isn’t critical: it’s just a notice and won’t effect production hosts. Still,
   it’s a bit annoying.
 * Thank you.
 * [https://wordpress.org/plugins/featured-post/](https://wordpress.org/plugins/featured-post/)

The topic ‘called constructor method deprecated’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/featured-post.svg)
 * [Featured Post](https://wordpress.org/plugins/featured-post/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/featured-post/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/featured-post/)
 * [Active Topics](https://wordpress.org/support/plugin/featured-post/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/featured-post/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/featured-post/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [sunilwilliams](https://wordpress.org/support/users/sunilwilliams/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/called-constructor-method-deprecated/)
 * Status: not resolved