Title: admin-header.php and a possible connection to random wp-admin errors
Last modified: August 19, 2016

---

# admin-header.php and a possible connection to random wp-admin errors

 *  [terescia](https://wordpress.org/support/users/terescia/)
 * (@terescia)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/admin-headerphp-and-a-possible-connection-to-random-wp-admin-errors/)
 * While researching a rash of 404 errors that keep occurring during routine admin
   tasks on some sites I run WordPress 3.0.4 on, I came across a comment that indicated
   there was an unclosed php tag in the admin-header.php file. I have searched for
   nearly 1.5 hours trying to find out more about this, but I keep coming up blank(
   maybe my search skills stink, but I can’t seem to find out any more about it.
 * The errors on my sites seemed to start with version 3+ but possibly sooner as
   I was on a hiatus 😉 for about 6 months.
 * [http://wordpress.org/support/topic/experiencing-random-internal-server-errors-update-wp-29?replies=26#post-1322680](http://wordpress.org/support/topic/experiencing-random-internal-server-errors-update-wp-29?replies=26#post-1322680)
 * I’ve been having a significant number of errors lately while doing routine WP
   admin tasks, and I have tried so many things that I’m willing to follow any lead
   I can find that might help me resolve my issues.
 * Is this something that is done purposely? I added a ?> at the end of the admin-
   header.php file just in case but I would prefer to know if I’ve done something
   that might introduce more errors or security issues.
 * I won’t know if the constant 404 errors / 500 internal server errors have been
   corrected until I work with the site again, but I would appreciate anyone telling
   me how I can find out if this is important. (Since I did edit my admin-header.
   php file on 2 sites as a test of sorts, and I might need to change it back…)

The topic ‘admin-header.php and a possible connection to random wp-admin errors’
is closed to new replies.

## Tags

 * ["500 internal server error"](https://wordpress.org/support/topic-tag/500-internal-server-error/)
 * [404 errors](https://wordpress.org/support/topic-tag/404-errors/)
 * [admin-header.php](https://wordpress.org/support/topic-tag/admin-header-php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [terescia](https://wordpress.org/support/users/terescia/)
 * Last activity: [15 years, 4 months ago](https://wordpress.org/support/topic/admin-headerphp-and-a-possible-connection-to-random-wp-admin-errors/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
