Title: syntax error in wp-includes/default-widgets.php on line 1035?
Last modified: August 19, 2016

---

# syntax error in wp-includes/default-widgets.php on line 1035?

 *  [andrewjamesinc](https://wordpress.org/support/users/andrewjamesinc/)
 * (@andrewjamesinc)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/syntax-error-in-wp-includesdefault-widgetsphp-on-line-1035/)
 * I think this may have had something to do with the upgrade to 2.9, but maybe 
   not. Almost all my word press sites, the sites of two other friends of mine (
   hosted on different hosting companies, with seprate accounts) are also experiencing
   the same basic problem.
 * There are two variations of the error:
 * 1. Parse error: syntax error, unexpected ‘<‘ in /home/realconn/public_html/andrewjamesteam/
   wp-includes/default-widgets.php on line 1035
 * (this is most common)
 * 2. Warning: session_start() [function.session-start]: Cannot send session cookie–
   headers already sent by (output started at /XXXXX/XXXXX/public_html/XXXXX/wp-
   includes/default-filters.php:215) in /home/XXXXX/public_html/XXXXX/wp-content/
   plugins/wordpress-automatic-upgrade/wordpress-automatic-upgrade.php on line 121
 * Warning: session_start() [function.session-start]: Cannot send session cache 
   limiter – headers already sent (output started at /home/XXXXX/public_html/XXXXX/
   wp-includes/default-filters.php:215) in /home/realconn/public_html/XXXXX/wp-content/
   plugins/wordpress-automatic-upgrade/wordpress-automatic-upgrade.php on line 121
 * Parse error: syntax error, unexpected ‘<‘ in /home/XXXXX/public_html/XXXXX/wp-
   includes/default-widgets.php on line 1035
 * (this seems to be happening only on my sites with automatic upgrade installed.)
 * => The strange thing is this didn’t happen to several other sites of ours. I 
   am not sure if we were hacked, doesn’t seem likely considering the circumstances
   and number of different sites on different servers.
 * Any help would be great.
 * Andrew

Viewing 1 replies (of 1 total)

 *  [alism](https://wordpress.org/support/users/alism/)
 * (@alism)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/syntax-error-in-wp-includesdefault-widgetsphp-on-line-1035/#post-1321950)
 * Yes, you’ve been hacked. Right click on that page and view the source code. See
   how it’s got a load of obfuscated code?
 * These links should get you started:
    [http://codex.wordpress.org/FAQ_My_site_was_hacked](http://codex.wordpress.org/FAQ_My_site_was_hacked)
   [http://smackdown.blogsblogsblogs.com/2008/06/24/how-to-completely-clean-your-hacked-wordpress-installation/](http://smackdown.blogsblogsblogs.com/2008/06/24/how-to-completely-clean-your-hacked-wordpress-installation/)

Viewing 1 replies (of 1 total)

The topic ‘syntax error in wp-includes/default-widgets.php on line 1035?’ is closed
to new replies.

## Tags

 * [plugin error](https://wordpress.org/support/topic-tag/plugin-error/)

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

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
