Title: Deprecated Constructor
Last modified: November 17, 2016

---

# Deprecated Constructor

 *  Resolved [Jeremy Scott](https://wordpress.org/support/users/jeremyescott/)
 * (@jeremyescott)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/deprecated-constructor-4/)
 * Hey guys, running the widget on PHP 7 and I’m getting this warning. Heads up.
 * Deprecated: Methods with the same name as their class will not be constructors
   in a future version of PHP; AdPlugg_Widget has a deprecated constructor in /[
   root_to_wp]/wp-content/plugins/adplugg/includes/widgets/AdPlugg_Widget.php on
   line 13
 * I develop in debug mode and would love to see this addressed in a future version.
   🙂

Viewing 1 replies (of 1 total)

 *  Plugin Author [adplugg](https://wordpress.org/support/users/adplugg/)
 * (@adplugg)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/deprecated-constructor-4/#post-8465229)
 * Hi Jeremy,
 * Thanks for letting us know. We just fixed it. Please upgrade to version 1.4.4
   for the fix.
 * Thanks for using AdPlugg!
 * Collin
 * Collin Krawll
    AdPlugg

Viewing 1 replies (of 1 total)

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

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

 * 1 reply
 * 2 participants
 * Last reply from: [adplugg](https://wordpress.org/support/users/adplugg/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/deprecated-constructor-4/#post-8465229)
 * Status: resolved