• Hi! Thank you for this amazing plugin ??

    Since this bit of code hasn’t been updated in a while, there is an issue with the way how the parent constructor of WP_Widget is called.

    Line 513 in the file secondary-html-content.php has to be changed from
    $this->WP_Widget( 'secondary-html-content', __( 'Secondary HTML Content', 'secondary_html_content' ), $widget_ops );
    to
    parent::__construct( 'secondary-html-content', __( 'Secondary HTML Content', 'secondary_html_content' ), $widget_ops );

    Would be nice if you could integrate this change in an update.

    Thanks,
    Thomas

    • This topic was modified 8 years, 4 months ago by te-online.
Viewing 1 replies (of 1 total)
  • Nice piece of code! Thanks. I use the plugin and also had that error.
    To bad they dont support this great plugin anymore.

Viewing 1 replies (of 1 total)
  • The topic ‘Fix for notice due to WP_Widget constructor’ is closed to new replies.