White screen of death only in wp-admin

As a rule of thumb, always remove the ending ?> of your .php files, especially if it’s a functions or config file that gets parsed before headers are sent to the page. If after that ?> you accidentally add a space, a tab character or a new line, there’s your invisible error.

Leave a Comment