• Resolved FireSamurai

    (@firesamurai)


    After upgrading to version WP 4.3.1, this plugin causes the following error to display:

    —–
    Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use

    __construct()

    instead. in /Users/ctmower/Documents/MAMP Sites/ctm/thecookingdish/wp-includes/functions.php on line 3457
    —–

    I also receive this red notification via the WP alerts area:

    “The plugin generated 233 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.”

    https://wordpress.org/plugins/genesis-featured-widget-amplified/

Viewing 1 replies (of 1 total)
  • Thread Starter FireSamurai

    (@firesamurai)

    This isn’t a permanent fix, but will do until the plugin is updated in the repository.

    Go to ‘wp-content/plugins/gensis-widget-amplified/widget.php’ and update line 112 from

    $this->WP_Widget

    to

    parent::__construct

    and then save. This is a temporary bandaid, but should do the trick until the plugin is updated (and hopefully this is fixed).

Viewing 1 replies (of 1 total)
  • The topic ‘Plugin Breaks WP 4.3.1 with depricated constructor’ is closed to new replies.