Title: Code error by novice
Last modified: August 19, 2016

---

# Code error by novice

 *  [oaktreehouse](https://wordpress.org/support/users/oaktreehouse/)
 * (@oaktreehouse)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/code-error-by-novice/)
 * What can be done when a complete novice (idiot) screws up some of the code. I
   now get the error below and can’t revert to the original code. I was following
   instructions to load a new pluggin and added some code. It didn’t work so I deleted
   it and re updated the code page.
 * Parse error: syntax error, unexpected ‘<‘ in /home/jacquip1/public_html/WordPress/
   wp-content/themes/the_lake/core/sidebars.php on line 242
 * Didn’t think it would update the live site until I pushed publish but evidentally
   it does. Line 241 is the last line of code so 242 is an empty line. If that helps
 * Help please. Maybe the damaged code page will be useful
 * [use pastebin.com to post large blocks of code]

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

 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/code-error-by-novice/#post-1739770)
 * just upload a new/fresh copy of the `sidebars.php` from the theme
 *  Thread Starter [oaktreehouse](https://wordpress.org/support/users/oaktreehouse/)
 * (@oaktreehouse)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/code-error-by-novice/#post-1739902)
 * Thanks that sounds east but…
 * I can’t get back to the dash board. If I login as admin it takes me to the Syntax
   page error and I can’t get out.
 *  [geekdesigngirl](https://wordpress.org/support/users/geekdesigngirl/)
 * (@geekdesigngirl)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/code-error-by-novice/#post-1739905)
 * Do you have access to an FTP client to re-upload the file? That would be the 
   easiest way to do that.
 *  Thread Starter [oaktreehouse](https://wordpress.org/support/users/oaktreehouse/)
 * (@oaktreehouse)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/code-error-by-novice/#post-1739908)
 * OK I think I do have an FTP client but where am I getting the file that I need
   to re-upload from ?
 * Sorry I am bit new to this
 * thanks
 * Jacq
 *  [geekdesigngirl](https://wordpress.org/support/users/geekdesigngirl/)
 * (@geekdesigngirl)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/code-error-by-novice/#post-1739909)
 * Don’t be sorry 😉
 * You can get the file to re-upload from the original download of the theme. It
   looks like your theme is the_lake, correct? I’m not sure where you downloaded
   it but you probably still have a copy in your Downloads folder or, if you don’t,
   you can download the theme from wherever you downloaded it the first time.
 * Did you have a link to your site?

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

The topic ‘Code error by novice’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 3 participants
 * Last reply from: [geekdesigngirl](https://wordpress.org/support/users/geekdesigngirl/)
 * Last activity: [15 years, 6 months ago](https://wordpress.org/support/topic/code-error-by-novice/#post-1739909)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
