My blog is showing an error on homepage. How to sort that out?

here is the error below

Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /home2/myquicki/public_html/wp-includes/functions.php on line 3622

Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use

__construct()

instead. in /home2/myquicki/public_html/wp-includes/functions.php on line 3457

How to remove it?

I guess you’ll have to update the theme you’re using? Or, if it’s not being maintained anymore, find another one that is compatible with the current WP version?

if you want to hide the message till you fix it, just turn off error reporting in php.ini

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.