Warning Message
-
Hello,
Does anyone know why I’m receiving this message?
Warning: Cannot modify header information – headers already sent by (output started at /home/mindsmatterlv/public_html/wp-content/plugins/logo-switcher/init.php:1) in /home/mindsmatterlv/public_html/wp-includes/pluggable.php on line 1167
Thank you.
http://www.mindsmatterlv.org
-
Hello sspens,
You can just put below code in wp-config.php file, Then it will remove both php and wordpress warning in website.
ini_set(‘log_errors’,’On’);
ini_set(‘display_errors’,’Off’);
ini_set(‘error_reporting’, E_ALL );
define(‘WP_DEBUG’, false);
define(‘WP_DEBUG_LOG’, true);
define(‘WP_DEBUG_DISPLAY’, false);Hope it’ll help
Thanks
DivyaDivya,
Thank you. Just put it anywhere?
Yeah, You can find code of define(‘WP_DEBUG’, false); in wp-config.php just replace with above code.
I replaced it with what you gave me. I don’t get an error message anymore, but the site isn’t coming up at all either.
It is another issue in your site. It is showing totally blank. May be it has happened related to plugin. you can try to deactivate plugin one by one and check your website, it is working or not.
According to the error message in your first post, the plugin “Logo Switcher” appears to be the cause of your issue. If you can’t access your Dashboard, you can still disable just that plugin via FTP (by following the second set of directions here, except that you’ll just rename that particular plugin’s folder).
Once you’ve done that, you should be able to access your Dashboard again. You might wish to report this issue at your plugin’s official support page: https://ww.wp.xz.cn/support/plugin/logo-switcher#postform
Thank you Stephen. It worked and I have access to my site. I also posted a message at the link you provided.
The topic ‘Warning Message’ is closed to new replies.