Title: Debug Log PHP Deprecated Methods Named Same As Class
Last modified: March 14, 2018

---

# Debug Log PHP Deprecated Methods Named Same As Class

 *  [SooBahkDo](https://wordpress.org/support/users/soobahkdo/)
 * (@soobahkdo)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/debug-log-php-deprecated-methods-named-same-as-class/)
 * Hello,
 * Thanks for a great plugin!
 * Can these be fixed?
 * They occur so often they make our log files huge quickly.
 * [14-Mar-2018 05:32:22 UTC] PHP Notice: The called constructor method for WP_Widget
   in ujic_Widget is **deprecated** since version 4.3.0! Use
 *     ```
       __construct()
       ```
   
 *  instead. in /home/soobabiz/public_html/wp-includes/functions.php on line 3902
 * [14-Mar-2018 05:32:35 UTC] PHP Deprecated: Methods with the same name as their
   class will not be constructors in a future version of PHP; ujic_Widget has a 
   deprecated constructor in /home/soobabiz/public_html/wp-content/plugins/uji-countdown-
   premium/classes/class-uji-widget.php on line 14
 * [14-Mar-2018 05:32:35 UTC] PHP Deprecated: Methods with the same name as their
   class will not be constructors in a future version of PHP; ujic_Widget has a 
   deprecated constructor in /home/soobabiz/public_html/wp-content/plugins/uji-countdown-
   premium/classes/class-uji-widget.php on line 14
 * [14-Mar-2018 05:32:35 UTC] PHP Deprecated: Methods with the same name as their
   class will not be constructors in a future version of PHP; ujic_Widget has a 
   deprecated constructor in /home/soobabiz/public_html/wp-content/plugins/uji-countdown-
   premium/classes/class-uji-widget.php on line 14
    [14
 * Thanks!
    -  This topic was modified 8 years, 2 months ago by [SooBahkDo](https://wordpress.org/support/users/soobahkdo/).

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

 *  Thread Starter [SooBahkDo](https://wordpress.org/support/users/soobahkdo/)
 * (@soobahkdo)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/debug-log-php-deprecated-methods-named-same-as-class/#post-10160138)
 * bump
 *  Thread Starter [SooBahkDo](https://wordpress.org/support/users/soobahkdo/)
 * (@soobahkdo)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/debug-log-php-deprecated-methods-named-same-as-class/#post-10712344)
 * Hello,
 * Just a bump on this as it really clogs up our logs. 🙂
 * Query Monitor reports:
 * Object
    component: “Plugin: uji-countdown-premium” file: “wp-content/plugins/
   uji-countdown-premium/classes/class-uji-widget.php” line: 14 message: “Methods
   with the same name as their class will not be constructors in a future version
   of PHP; ujic_Widget has a deprecated constructor” stack: [“wp-content/plugins/
   uji-countdown-premium/ujicountdown.php”] type: “deprecated” __proto__: Object

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

The topic ‘Debug Log PHP Deprecated Methods Named Same As Class’ is closed to new
replies.

 * ![](https://ps.w.org/uji-countdown/assets/icon-256x256.jpg?rev=1074703)
 * [Uji Countdown](https://wordpress.org/plugins/uji-countdown/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/uji-countdown/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/uji-countdown/)
 * [Active Topics](https://wordpress.org/support/plugin/uji-countdown/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/uji-countdown/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/uji-countdown/reviews/)

## Tags

 * [class](https://wordpress.org/support/topic-tag/class/)
 * [deprecated](https://wordpress.org/support/topic-tag/deprecated/)

 * 2 replies
 * 1 participant
 * Last reply from: [SooBahkDo](https://wordpress.org/support/users/soobahkdo/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/debug-log-php-deprecated-methods-named-same-as-class/#post-10712344)
 * Status: not resolved