Same problem for Version: 8.1.9, 8.1.8 and 8.1.7
no problem with 8.1.6
I fixed it manually but I’d love to see it added to the plugin code to avoid the warnings for next release.
1- /lib/sfp-like-box.php change “function SFPLikeBoxWidget()…” to
function __construct(){
$widget_ops = array( 'description' => 'Is deprecated by Facebook, please use the new Page Plugin instead. Like Box will automatically fall back to the Page Plugin by June 23rd 2015.' );
parent::WP_Widget( 'facebookwidget', $name = 'SFP - Like Box. Deprecated!', $widget_ops);
}
function SFPLikeBoxWidget() {
self::__construct();
}
2- /lib/sfp-page-plugin.php change “function SFPPagePluginWidget()…” to
function __construct(){
$widget_ops = array( 'description' => 'Display Facebook Page Plugin.' );
parent::WP_Widget( 'sfp_page_plugin_widget', $name = 'SFP - Facebook Page Plugin', $widget_ops);
}
function SFPPagePluginWidget() {
self::__construct();
}