Error 404 is shown in the site header

Created:

2016-12-18 17:24:03 UTC

Modified:

2017-08-08 13:46:20 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Error 404 is shown in the site header

Symptoms

When trying to access site example.com, it opens normally. But there is a 404 in the site header. Log files contain no errors related to this behavior.

In case Wordpress debug log level is enabled, the site shows the following error:

404 Notice: The called constructor method for WP_Widget in ItemLikes_Widget is deprecated since version 4.3.0! Use
__construct()
instead. in /var/www/vhosts/example.com/httpdocs/wp-includes/functions.php on line 3846

Cause

This error is caused by the site code.

Resolution

 Contact example.com site developer in order to resolve the issue.

Additional Information

How to enable Wordpress debug log level

WP_Widget is deprecated since version 4.3.0

Deprecating PHP4 style constructors in WordPress 4.3

Have more questions? Submit a request
Please sign in to leave a comment.