• Using PHP 7.0 or 7.1, I’m getting this warning in WordPress debug mode:

    Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Featured_Category_Widget has a deprecated constructor in /usr/www/wp-content/plugins/category-feature/class-lib/CF_WidgetClass.php on line 12

Viewing 1 replies (of 1 total)
  • Plugin Author tepelstreel

    (@tepelstreel)

    Thanks for making me alert. I thought, I’d have those old constructors eliminated in all my plugins. Obviously not. 🙂

    Thanks a lot and all the best.

Viewing 1 replies (of 1 total)
  • The topic ‘Deprecated constructor in PHP code (still working though)’ is closed to new replies.