• Hello,

    This is mostly a notice to everyone else looking for a solution to this problem, since the plugin hasn’t been updated in a while. I noticed the widget constructor in widget-feedburner-email.php is still using the old format. WP core deprecated the old PHP4 constructors in July 2015, WP 4.3 (see notice: https://make.wordpress.org/core/2015/07/02/deprecating-php4-style-constructors-in-wordpress-4-3/)

    It is a fairly simple fix that you can do yourself if you don’t want to wait for the plugin to be updated. Usually, I’m strongly against editing plugin files, but in this case this is probably the only way it will get fixed.

    In widget-feedburner-email.php change line 21 from
    $this->WP_Widget('FeedburnerEmailWidget', 'Feedburner Email Widget', $widget_ops);
    to
    parent::__construct( 'FeedburnerEmailWidget', 'Feedburner Email Widget', $widget_ops );

    You can also choose to change the plugin information at the top (specifically name, version, and URI) if you wish to prevent future updates from the plugin. However, it may never get updated — and if it does, hopefully this fix will be implemented. I won’t be changing the info on my site.

    Hope this helps someone.
    Emma

    https://wordpress.org/plugins/feedburner-email-widget/

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

    (@wyrihaximus)

    Honestly I didn’t have any intention to update the plugin but I can look up how to do that again and get this simple fix in. It’s been a while since I’ve touched wordpress so bare with me :).

    Thread Starter Emma Edgar Valcq

    (@emmaee)

    That would be amazing! Thank you so much!

    The change in code above should be all you need to do. I can’t help you with how to update the SVN repo though. Adding a Plugin to wp.org is still on my todo list. 🙂

    Plugin Author WyriHaximus

    (@wyrihaximus)

    Emma,

    I’ve just applied that fixed and released 1.2.0 with just that. If you run into any other issues please let me know.

    Cees-Jan

    Thread Starter Emma Edgar Valcq

    (@emmaee)

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Deprecated Widget Constructor FIX’ is closed to new replies.