Title: Parse Error
Last modified: August 30, 2016

---

# Parse Error

 *  Resolved [Styrishave](https://wordpress.org/support/users/styrishave/)
 * (@styrishave)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/parse-error-362/)
 * Hi,
 * I’m in a totally panic! I wanted to change a background color in widget footer
   but now I’m stuck with this error:
 * Parse error: syntax error, unexpected ‘.’ in /var/www/kristianstyrishave.dk/public_html/
   wp-content/themes/twentyeleven/inc/widgets.php on line 186
 * I cannot enter the page and therefore not even delete the text I pasted…. I really
   don’t know what to do here.
 * If anyone have ANY suggestion as the page is now totally down and I can’t enter
   the adminpage I would be very very grateful.
 * As I’m a totally newbie it could be great if someone could it explain it to me
   step by step

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

 *  [Bill](https://wordpress.org/support/users/chubbycrow/)
 * (@chubbycrow)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/parse-error-362/#post-6586977)
 * It sounds like you tried to edit the theme widget.php file? If that’s the case,
   you can replace the theme with a fresh copy.
 * If you can’t access your admin pages, you’ll need to use an [FTP client](http://codex.wordpress.org/FTP_Clients)(
   like FileZilla), or your host’s cpanel (or File Manager) and navigate to the 
   files on the server.
 * In your WP installation there, find `wp-content/themes` and rename the twentyeleven
   theme’s folder to something like `twentyeleven-hold`, or delete it altogether.
   That will disable the theme and hopefully allow you to get back into WP admin.
   WP will use a default WP theme in its place (probably Twentyfifteen).
 * Once you can get back in to your admin pages, re-install a fresh copy of the 
   theme. If you have made other changes to the theme, you will lose them of course.
   That’s why you should always make changes to a [child theme](http://codex.wordpress.org/Child_Themes).
 * The change you were trying to make at the outset should probably be done in custom
   style sheet, BTW.
 *  Thread Starter [Styrishave](https://wordpress.org/support/users/styrishave/)
 * (@styrishave)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/parse-error-362/#post-6586987)
 * Thank you very much – I’ll try 🙂
 *  Thread Starter [Styrishave](https://wordpress.org/support/users/styrishave/)
 * (@styrishave)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/parse-error-362/#post-6587034)
 * Yay it worked perfectly – thank you so much. You just saved my day 🙂
 *  [Bill](https://wordpress.org/support/users/chubbycrow/)
 * (@chubbycrow)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/parse-error-362/#post-6587035)
 * Great! Glad you got it fixed. You’re welcome!

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

The topic ‘Parse Error’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [Bill](https://wordpress.org/support/users/chubbycrow/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/parse-error-362/#post-6587035)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
