Critical error when uploading website

Posted in: Newspaper
Post count: 29

Hello,

I uploaded my newspaper theme website on my ftp, and installed the database. Homepage is working, but when trying to access WP-ADMIN page, this message shows up (i activated DEBUG MODE):

Warning: Cannot modify header information – headers already sent by (output started at /home/licra/www/wp-config.php:1) in /home/licra/www/wp-includes/pluggable.php on line 1219

Help please, website is currently not working 🙁

Thank you

Post count: 20688

Hi,

Try to deactivate all you plugins, leave only the theme provided plugins active. If you can’t access the the admin plugins screen, disable theme by FTP
https://www.wpbeginner.com/plugins/how-to-deactivate-all-plugins-when-not-able-to-access-wp-admin/
Also be sure to check the theme requirements here
https://forum.tagdiv.com/requirements-for-newspaper/
Theme supports PHP versions up to 7.2, 7.1 or so would be best.

Also check some other similar topics online, like these ones
https://docs.presscustomizr.com/article/196-warning-cannot-modify-header-information-header-already-sent-by
https://www.hostinger.com/tutorials/fix-warning-cannot-modify-header-information-headers-already-sent

Thanks

Post count: 29

Thank you,

For all people having the same issue : it was due to wp-config.php being wrongly encoded.

Correct encoding : UTF8 without BOM

Working now !

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.