Error code
-
I just took over a website that is having some errors and I have been trying everything on here to no avail and was wondering of I could get some help.
I backed up the website, even with the error codes I received and I also deactivated and deleted all of the plugins as the support forums mentioned for another person who had the same error and that has not resolved it.
I am receiving several lines of the following errors”
Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use
__construct()
instead. in /home/opifest/public_html/wp-includes/functions.php on line 3619At the bottom, I am receiving the following 3 errors:
Warning: session_start(): Cannot send session cookie – headers already sent by (output started at /home/opifest/public_html/wp-includes/functions.php:3619) in /home/opifest/public_html/wp-includes/plugin.php on line 525Warning: session_start(): Cannot send session cache limiter – headers already sent (output started at /home/opifest/public_html/wp-includes/functions.php:3619) in /home/opifest/public_html/wp-includes/plugin.php on line 525
Warning: Cannot modify header information – headers already sent by (output started at /home/opifest/public_html/wp-includes/functions.php:3619) in /home/opifest/public_html/wp-includes/pluggable.php on line 1228
Any assistance would be greatly appreciated. Thank you.
-
Hi there!
In your
wp-config.php
you could potentially have definedWP_DEBUG
to true. You can set it to false and it should remove the widget notice. Look for:define( 'WP_DEBUG', true );
And change it to:
define( 'WP_DEBUG', false );
As for the two warnings have you tried re-installing WordPress from a fresh, clean copy? You can use your favorite FTP program for that. Be sure not delete the
wp-content
folder orwp-config.php
file.Hi Jose! I just changed the WP_DEBUG to False and all the errors went away. I appreciate it A LOT!
Awesome!
Happy to help!
Hi I seem to be having the same problem but tried changing to false and still getting this error
Warning: Cannot modify header information – headers already sent by (output started at /websites/123reg/LinuxPackage22/se/ah/ol/seaholly.fr/public_html/wp-includes/functions.php:1) in /websites/123reg/LinuxPackage22/se/ah/ol/seaholly.fr/public_html/wp-includes/pluggable.php on line 1228
Any ideas?
Thank you
Hi, i’m having the same error, my WP-DEBUG is already set to false and i’m getting this error.
Any other ideas/ site is foxemerson.com anyone point me in the right direction?
Fox
Same here.
Warning: Cannot modify header information – headers already sent by… …wp-includes/pluggable.php on line 1228
(WP-DEBUG) also set to false.
I eventually found a solution by replacing my child theme’s functions.php with a fresh copy. The only thing that was in there was google tracking code, and I hadn’t updated that for months, so I am unsure why it was suddenly causing a problem, but maybe this will help someone else.
I had the same problem as Jeremy described, same warning, and I did replace the fonctions.php in my childtheme, as he suggested. I seems to work for me too.. Ye!
Thank you for sharing your solution.Have the same problem.
Since I am starting to use WordPress today, I wonder if someone could tell me where I could find childtheme functions.php and where I can fin the replacement file ?
Please open new threads https://wordpress.org/support/forum/how-to-and-troubleshooting#postform
- The topic ‘Error code’ is closed to new replies.