Title: Parse error: syntax error, unexpected &#8216;&lt;&#8216; in wp-includes/default-widgets.php
Last modified: August 19, 2016

---

# Parse error: syntax error, unexpected ‘<‘ in wp-includes/default-widgets.php

 *  [morriscey](https://wordpress.org/support/users/morriscey/)
 * (@morriscey)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-lt-in-wp-includesdefault-widgetsphp/)
 * Hello all,
 * I have been having a problem with two websites. Every few days the error
    `Parse
   error: syntax error, unexpected '<' in /public_html/wp-includes/default-widgets.
   php on line 1035`
 * Pops up. When I replace the default-widgets.php file the following error comes
   up:
    `Warning: Cannot modify header information - headers already sent by (output
   started at /public_html/wp-includes/default-filters.php:215) in /public_html/
   wp-includes/pluggable.php on line 865`
 * Both sites also have only the default plug-ins installed.
    when I re-upload the
   entire wp-includes folder, the site works again.
 * The error originally happened in 2.8.6, but I have downgraded to 2.8.4 and it
   is still occurring.
 * Any help would be GREATLY appreciated. If more clarification is needed or any
   more information, please don’t hesitate to ask.
 * Matt

Viewing 1 replies (of 1 total)

 *  [saltlakejohn](https://wordpress.org/support/users/saltlakejohn/)
 * (@saltlakejohn)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-lt-in-wp-includesdefault-widgetsphp/#post-1300798)
 * Had this problem with php include() and solved it by uploading a new copy of 
   the included file. Made sure the new upload line endings were UNIX, not Mac, 
   Dos, or UTF. Also made sure the file was UTF-8, not ISO-8829-1 or whatever else
   my text-editor might have done.

Viewing 1 replies (of 1 total)

The topic ‘Parse error: syntax error, unexpected ‘<‘ in wp-includes/default-widgets.
php’ is closed to new replies.

## Tags

 * [header information](https://wordpress.org/support/topic-tag/header-information/)
 * [parse-error](https://wordpress.org/support/topic-tag/parse-error/)
 * [pluggable.php](https://wordpress.org/support/topic-tag/pluggable-php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [saltlakejohn](https://wordpress.org/support/users/saltlakejohn/)
 * Last activity: [16 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-lt-in-wp-includesdefault-widgetsphp/#post-1300798)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
