WP_Widget is deprecated since version 4.3.0

How to fix "WP_Widget is deprecated since version 4.3.0"

If your website displays the error “Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use __construct() instead.” and you need an immediate solution, don’t hesitate: contact me.

This notice is displayed by WordPress in case there are Plugins or Themes defining WordPress Widgets using a feature no longer supported by PHP 7: the PHP 4 constructors method style.

To resolve this error, you must find among all Plugins and Themes used on your site, those that, in the initialization of a Widget, use one of these functions “parent::WP_Widget“, “$this->WP_Widget” or “CLASS_NAME->WP_Widget” and replace the function “WP_Widget” with the constructor method “__construct“.

If you need further assistance, fill out the form below.



If you need another kind of WordPress support, check which other services for WordPress I can offer you.