Title: Parse error: syntax error, unexpected
Last modified: August 19, 2016

---

# Parse error: syntax error, unexpected

 *  [eragas](https://wordpress.org/support/users/eragas/)
 * (@eragas)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-6/)
 * Hello everybody,
 * I have a problem with my blog
    [http://historiaglobalonline.com/purolibros/](http://historiaglobalonline.com/purolibros/)
 * You can this see this message: **Parse error: syntax error, unexpected ‘<‘ in/
   home/histo28/public_html/purolibros/wp-includes/default-widgets.php on line 1034**
 * Is you can see this file **default-widgets.php** so you can download this file
   in [http://blog.pucp.edu.pe/media/241/20091212-default-widgets.zip](http://blog.pucp.edu.pe/media/241/20091212-default-widgets.zip)
 * Please I need your help with my blog.
 * Thanks so much
 * Erick Ragas, from Peru

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

 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [16 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-6/#post-1307232)
 * Re-upload the wp-includes folder from a fresh download of WP. It may have gotten
   corrupted. You should **NEVER** edit those files.
 * If that doesn’t work, what plugins are you running?
 *  [Mark / t31os](https://wordpress.org/support/users/t31os_/)
 * (@t31os_)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-6/#post-1307288)
 * Add this into one of your template files, load the page once, then remove the
   code.
 *     ```
       delete_option('sidebar_widgets');
       ```
   
 * Then go back to the admin and add back your widgets..
 * It’ll be a widget that’s caused the error if Ipstenu’s suggestion hasn’t helped.
   Take care when adding them back, as any problmatic widget will likely cause the
   same to happen again..
 * Rinse, and repeat if necessary..
 *  Thread Starter [eragas](https://wordpress.org/support/users/eragas/)
 * (@eragas)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-6/#post-1307412)
 * Hello Telos or t31os_
 * Please I need your help.
 * I have two blogs:
 * [http://historiaglobalonline.com/](http://historiaglobalonline.com/)
 * [http://historiaglobalonline.com/purolibros/](http://historiaglobalonline.com/purolibros/)
 * Please I need your help.My blog are my passion but in this moment I don`t know
   whats wrong.
 * Please Telos if i can talk by Skype, Gmail or MSN?
    Is possible?
 * My e-mails are:
 * [b45288@hotmail.com](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-6/b45288@hotmail.com?output_format=md)
 * [erick.ragas@gmail.com](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-6/erick.ragas@gmail.com?output_format=md)
 * Please Help me!
 * Thanks so much Telos.
 * Erick Ragas
 *  [Mark / t31os](https://wordpress.org/support/users/t31os_/)
 * (@t31os_)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-6/#post-1307491)
 * Erick, for professional help please try the following site.
    [http://jobs.wordpress.net/](http://jobs.wordpress.net/)
 * Else i’ll be happy to offer suggestions if you want to openly discuss the problem
   here.
 * You may wish to ask a mod to also remove your personal contact from above, if
   not only to avoid spammers picking it up.
 *  [socboo101](https://wordpress.org/support/users/socboo101/)
 * (@socboo101)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-6/#post-1307575)
 * I have the same problem in 7 sites which had installed with WordPress 2.8.x version.
 * > Parse error: syntax error, unexpected T_STRING, expecting ‘)’ in /home/XXXXXXXXXX/
   > public_html/wp-includes/default-widgets.php on line XXXX
 * Yesterday, I attempted to delete the old WP files of 2 sites through FTP. And
   then uploaded WP 2.8.6 files to them. The 2 sites became normal. Today 2 sites
   display the same problem.
 * Do anyone can help to solve this problem and the same problem never appears again
   for forever?
 *  [Mark / t31os](https://wordpress.org/support/users/t31os_/)
 * (@t31os_)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-6/#post-1307576)
 * In my experience the default widgets error is shown when a user installed widget
   has errors, in such cases, flushing the sidebar_widgets option resolves the problem(
   procedure shown in previous response).
 * Deleting the option means you have to add widgets back to your theme ( **Admin**
   > **Appearance **> **Widgets **), but it will give you back access to your pages,
   just be sure not to activate the problematic widget again. The easiest way to
   isolate a problem widget is to add one back at a time, testing a few blog pages
   between each addition of a widget (open a few tabs in your browser if it makes
   the process easier).
 * That’s not to say it’s the cause for everyone, but i’ve only seen that error 
   a few times during my time using WordPress, and “for me”, each time was in relation
   to the installation of widgets.

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

The topic ‘Parse error: syntax error, unexpected’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 4 participants
 * Last reply from: [Mark / t31os](https://wordpress.org/support/users/t31os_/)
 * Last activity: [16 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-6/#post-1307576)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
