Title: header.php error due to wordpress editor
Last modified: August 19, 2016

---

# header.php error due to wordpress editor

 *  [bspr3663](https://wordpress.org/support/users/bspr3663/)
 * (@bspr3663)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/headerphp-error-due-to-wordpress-editor/)
 * After I switched to a new server and moved over my wordpress files and database
   to a NEW wordpress install, I have ran into an editor issue. Whenever I make 
   a change on on the header.php file it causes an error. I know my coding is correct
   because when I edit the file in dreamweaver and then ftp it over it works fine.
   
   The error message: `Parse error: syntax error, unexpected T_STRING, expecting','
   or ';' in /home/content/80/7256080/html/wp-content/themes/TheSource/header.php
   on line 96`
 * Any help would be appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Greg Winiarski](https://wordpress.org/support/users/gwin/)
 * (@gwin)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/headerphp-error-due-to-wordpress-editor/#post-1890982)
 * Maybe you have Magic Quotes [http://www.php.net/manual/pl/security.magicquotes.what.php](http://www.php.net/manual/pl/security.magicquotes.what.php)
   enabled on your server and when the file is being saved slashes are being added
   to the file content.
 *  Thread Starter [bspr3663](https://wordpress.org/support/users/bspr3663/)
 * (@bspr3663)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/headerphp-error-due-to-wordpress-editor/#post-1890998)
 * Thanks Greg, that was the answer, some coding got changed around. So I just deleted
   the whole thing instead of recoding code that I didn’t badly need.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘header.php error due to wordpress editor’ is closed to new replies.

## Tags

 * [editor](https://wordpress.org/support/topic-tag/editor/)
 * [header](https://wordpress.org/support/topic-tag/header/)
 * [header.php](https://wordpress.org/support/topic-tag/header-php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [bspr3663](https://wordpress.org/support/users/bspr3663/)
 * Last activity: [15 years, 4 months ago](https://wordpress.org/support/topic/headerphp-error-due-to-wordpress-editor/#post-1890998)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
