Dear Admin,
I meet a problem that when I login, it shows:
“Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use
__construct()
instead. in /home1/duhocwor/public_html/wp-includes/functions.php on line 3457”
Do you know any solution to this problem?
Thanks in advance
You need to access themefiles.
Pls go to the folder framework -> open widgets folder -> pls find the file mo-widget.php and insert the above given code (copy paste) at line no:20 in file mo-widget.php and see if that helps.
An theme update is being submitted in next few hours which will take care of this issue. Pls wait. Until then, pls set WP_DEBUG to false in wp-config.php.
If you need this urgently while the update gets submitted and then approved, pls replace the file framework/widgets/mo-widget.php file with the one attached with this post.
Unzip the file and you should see the PHP file with updated code to remove the notice.