• Hi,
    I am getting this notice error:

    Notice: The called constructor method for WP_Widget in AI_Twitter_Widget is deprecated since version 4.3.0! Use __construct() instead. in /var/www/../..//functions.php on line 3722

    Event that it is a notice, when we have debug set to true, the message is always there and it goes to the log.

    I do really like to plugin but I would like to know if you plan to fix this error soon.

    Thanks

    https://wordpress.org/plugins/ai-twitter-feeds/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author August Infotech

    (@augustinfotech)

    Hello Carola,

    We will Check this plugin Up to WordPress 4.5 Version but not showing any error, please update your wordpress version.

    Please let us know if we could be of any other help.

    I’m using 4.5.3 and the error is still present:

    Notice: The called constructor method for WP_Widget in AI_Twitter_Widget is <strong>deprecated</strong> since version 4.3.0! Use
    <pre>__construct()</pre>
     instead. in ...\wp-includes\functions.php on line 3718

    Please fix your contructor’s. This is a PHP version issue also.
    Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; AI_Twitter_Widget has a deprecated constructor in wp-content/plugins/ai-twitter-feeds/ai-twitter-feeds.php on line 337

    Most of the time all you have to do is change the method to __construct()

    solve my issue plz ia heve same problem what can i do i cant login my admin area of wordprss its a ig issue plz tell me hat can i do
    Notice: The called constructor method for WP_Widget in WP_kStats_Widget is deprecated since version 4.3.0! Use
    __construct()

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error constructor method for WP_Widget is deprecated’ is closed to new replies.