Title: Parse erro
Last modified: August 19, 2016

---

# Parse erro

 *  [mfay3](https://wordpress.org/support/users/mfay3/)
 * (@mfay3)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/parse-erro/)
 * I was editing my sidebar.php and I deleted a part of the code that I no longer
   wanted (only deleted what I didn’t want) but then my sidebars and pages were 
   gone when I visited my webpage! Help! The bottom of my webpages says this…
    Parse
   error: syntax error, unexpected $end in /home/content/16/7704816/html/wp-content/
   themes/green-apples/sidebar.php on line 28
 * the sidebar.php code is this
    <div id=”sidebar” class=”sides”>
    -  <?php if ( function_exists(‘dynamic_sidebar’) && dynamic_sidebar() ) : else:?
      >
    -  <?php include (TEMPLATEPATH . ‘/searchform.php’); ?>
    -  <?php wp_list_pages(‘title_li=Pages’ ); ?>
    -  <?php wp_list_categories(‘show_count=1&title_li=Categories’); ?>
    - <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
    - Meta
 *  - </div>
       <!– #sidebar .sides –>
    - please help

Viewing 1 replies (of 1 total)

 *  [Mark Ratledge](https://wordpress.org/support/users/songdogtech/)
 * (@songdogtech)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/parse-erro/#post-2048964)
 * Replace sidebar.php with a new copy from your theme via FTP or compare the contents
   of that new file with the existing file by using the theme editor. Be careful
   about editing php: [http://www.w3schools.com/php/default.asp](http://www.w3schools.com/php/default.asp)

Viewing 1 replies (of 1 total)

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

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Mark Ratledge](https://wordpress.org/support/users/songdogtech/)
 * Last activity: [15 years, 1 month ago](https://wordpress.org/support/topic/parse-erro/#post-2048964)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
