Friends widget constructor error

When my multisite is in debug mode I get the following errors from the Friends plugin…

Notice: The called constructor method for WP_Widget in WPMUDev_Friends_Widget is deprecated since version 4.3.0! Use

__construct()

instead. in /home/bubctty007/public_html/wp-includes/functions.php on line 3903

Warning: Cannot modify header information – headers already sent by (output started at /home/bubctty007/public_html/wp-includes/functions.php:3903) in /home/bubctty007/public_html/wp-includes/pluggable.php on line 1216

The plugin works fine, otherwise, but I have to disable the Friends plugin whenever I enable debug mode. Is there a fix for this?

Thanks :slight_smile: