Page 1 of 1

WP_Widget Is Deprecated Since Version 4.3.0!

Posted: Fri Aug 21, 2015 10:53 pm
by admin
Hello everyone!
You you have updated your WordPress website to version 4.3 and have the Debug Mode enabled and you are using RedWaves lite or Realisitc theme, you will see this error on every page on your website and even in the Dashboard. To fix this issue you only need to change a single line of code:
Open, with your preferred code editor, the widget-socialicons.php file ( located in the /functions folder) and replace this code (line 147):
$this->WP_Widget( 'social-icons', __( 'RedWaves: Social Icons', 'redwaves-lite' ), $widget_ops, $control_ops );
to:
parent::__construct ( 'social-icons', __( 'RedWaves: Social Icons', 'redwaves-lite' ), $widget_ops, $control_ops );
As simple as that :)