Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Problem with header information in PHP code WordPress


Hi all, after my site was hacked, I had to build up all new.

Now the website itself is working, but I can't login, please see these links for the warnings:

After signing in with my wp-login, ther are fhe warnings you see attached

I tryed already to turn off all the plugins, maybe someone can give me some further assistance, but I have no PHP knowlege.


Answers (3)


Francisco Javier Carazo Gil answers:

If the functionality is good, don't worry, go to wp-config.php and set WP_DEBUG to false.

Francisco Javier Carazo Gil comments:

Go to wp-config.php and delete every space between<?php tag please.

Simone Fuchs comments:

Hi, it's already set to false:

define('WP_DEBUG', false);

Francisco Javier Carazo Gil comments:

The end of file SHOULDN'T HAVE ?> tag if it is not necessary.


John Cotton answers:

You've probably got a space or carriage return/line feed in your wp-config.php BEFORE the <?php

Make sure that this:


is on the first line of the file and has no spaces before it.

Simone Fuchs comments:

That was it! Thanks

John Cotton comments:



Agus Setiawan answers:

on wp-config.php, make sure that the first line is <? and at the end of file is ?>