I received all those messages after the new version of WPLMS (2.x).
What I have:
Wordpress: 4.4.2
myCRED: 1.6.8
WPLMS MyCred ADDON: 1.4
Strict Standards: Declaration of myCRED_Wplms_Module::after_general_settings() should be compatible with myCRED_Module::after_general_settings($mycred = NULL) in /media/documentos/dev/php/rebecca/dev/wp-content/plugins/wplms-mycred-addon/includes/myCRED-addon-wplms.php on line 24
I don't know how to fix the problem above.
Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use
__construct()
instead. in /media/documentos/dev/php/rebecca/dev/wp-includes/functions.php on line 3624
Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use
__construct()
instead. in /media/documentos/dev/php/rebecca/dev/wp-includes/functions.php on line 3624
How to fix the message above?
dashboard_widget.php
Line: 16
$this->WP_Widget( 'wplms_dash_mycred_balance', __(' DASHBOARD : MyCred Balance Widget', 'wplms-mycred'), $widget_ops, $control_ops );
to
parent::__construct( 'wplms_dash_mycred_balance', __(' DASHBOARD : MyCred Balance Widget', 'wplms-mycred'), $widget_ops, $control_ops );
Line: 117
$this->WP_Widget( 'wplms_dash_mycred_stats', __(' DASHBOARD : MyCred Stats Widget', 'wplms-mycred'), $widget_ops, $control_ops );
to
parent::__construct( 'wplms_dash_mycred_stats', __(' DASHBOARD : MyCred Stats Widget', 'wplms-mycred'), $widget_ops, $control_ops );