Please change the way WP_Widget is initialized, to avoid the following PHP error: ‘The called constructor method for WP_Widget is deprecated since version 4.3.0! Use __construct() instead.’
CURRENT:
public function __construct() {
parent::WP_Widget(false, 'Related Posts (YARPP)', array('description' => 'Related Posts and/or Sponsored Content'));
wp_enqueue_style('yarppWidgetCss', YARPP_URL.'/style/widget.css');
}
FIXED:
public function __construct() {
parent::__construct(false, 'Related Posts (YARPP)', array('description' => 'Related Posts and/or Sponsored Content'));
wp_enqueue_style('yarppWidgetCss', YARPP_URL.'/style/widget.css');
}
https://wordpress.org/plugins/yet-another-related-posts-plugin/