Title: Parse error
Last modified: August 18, 2016

---

# Parse error

 *  [dzollo](https://wordpress.org/support/users/dzollo/)
 * (@dzollo)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/parse-error-7-2/)
 * Hi everyone,
 * something’s happening in my sidebar.php file. I think that the problems may come
   from the event calendar…
 * the website is this: [http://www.camidelnord.org](http://www.camidelnord.org)
 * And this is the error:
 * Parse error: syntax error, unexpected $end in /home/camideln/public_html/wp-content/
   themes/camidln/sidebar.php on line 305
 * I have been loking for the problem, but there’s nothing on line 305… it’s extremely
   urgent because i have to present this website on thursday. Thanks so much.
 * Here I drop the code of the sidebar.php.
 *     ```
       <div id="sidebar">
   
       <ul>
       <li>
       	<h6 id="post">&Uacute;ltimes respostes al f&ograve;rum</h6>
   
       <?php
   
             SMF_EnSonMesajlar($limit=5,$before_all,$before_message,$after_message,$after_all) ?>
   
       </li>
       <li><?php get_links_list(); ?>
       </li>
       		<!-- </ul>
       <ul>
       <li>
       				<?php include (TEMPLATEPATH . '/searchform.php'); ?>
   
       </li>
       -->
   
       			<!-- Author information is disabled per default. Uncomment and fill in your details if you want to use it.
       <li><h2><?php _e('sobre nosaltres'); ?></h2>
   
       			<p>A little something about you, the author. Nothing lengthy, just an overview.</p>
   
       </li>
       			-->
   
       <!--
   
       <li>
       </li>
       <li><h2><?php _e('Noticies'); ?></h2>
       <ul>
       				<?php wp_get_archives('type=postbypost&limit=10'); ?>
   
       </ul>
       </li>
       			-->
   
       			<!-- menu de paginas
   
       			<?php wp_list_pages('title_li=<h2>' . __('') . '</h2>' ); ?>
   
       		--><!-- calendario -->
   
       	<!--	<h6 id="post">Calendari</h6>
   
       -->
   
       <li>
                    <?php ec3_get_calendar(); ?>
                 </li>
       <li>Events
                    <?php ec3_get_events(5); ?>
                 </li>
       <!--	
   
       <li><h2><?php _e('Arxius'); ?></h2>
       <ul>
       				<?php get_archives('monthly', '', 'html', '', '', TRUE); ?>
   
       </ul>
       </li>
       			-->
   
       <!-- categorias enlaces y eso
   
       <li><h2><?php _e('Categories'); ?></h2>
       <ul>
       				<?php list_cats(0, '', 'name', 'asc', '', 1, 0, 1, 1, 1, 1, 0,'','','','','') ?>
   
       </ul>
       </li>
       -->
   
       			<?php /* If this is the frontpage */ if ( is_home() || is_page() ) : ?>	
   
       			<!-- WordPress meta is disabled per default. Remove the html comment tags if you want to use it.
       <li><h2><?php _e('Meta'); ?></h2>
   
       <ul>
       					<?php wp_register(); ?>
   
       <li><?php wp_loginout(); ?></li>
       <li><a href="http://validator.w3.org/check/referer">"><?php _e('Valid XHTML'); ?></a></li>
       <li><a href="http://gmpg.org/xfn/">XFN</a></li>
       <li><a href="http://nofieiman.com/">">Nofie Iman</a></li>
       <li><a href="http://wordpress.org/">">WordPress</a></li>
       					<?php wp_meta(); ?>
   
       </ul>
       </li>
       			-->
   
       <!--
   
       <li><h2><?php _e('Subscribe:'); ?></h2>
       <ul>
       <li><a>" title="<?php _e('Syndicate this site using RSS'); ?>" target="subscriptions"><img src="<?php bloginfo('template_directory'); ?>/img/add-rss2.0.png" alt="<?php _e('Syndicate this site using RSS'); ?>" width="80" height="15" /></a></li>
       <li><a>" title="<?php _e('The latest comments to all posts in RSS'); ?>" target="subscriptions"><img src="<?php bloginfo('template_directory'); ?>/img/comments-rss.png" alt="<?php _e('The latest comments to all posts in RSS'); ?>" width="80" height="15" /></a></li>
       <li><a>" target="subscriptions"><img src="http://www.bloglines.com/images/sub_modern1.gif" alt="Subscribe with Bloglines" width="94" height="20" /></a></li>
       <li><a>" target="subscriptions"><img src="http://i.i.com.com/cnwk.1d/i/newsbursts/btn/newsburst3.gif" alt="Add your feed to Newsburst from CNET News.com" width="96" height="20" /></a></li>
       <li><a>" title="Subscribe in Google Reader"><img src="<?php bloginfo('template_directory'); ?>/img/googleread2.jpg" alt="Subscribe in Google Reader" width="91" height="17" /></a></li>
       <li><a>&t=<?php bloginfo('name'); ?>" target="subscriptions"><img src="http://www.pluck.com/images/pluck/pluspluck.png" alt="Subscribe with Pluck RSS reader" width="91" height="17" /></a></li>
       <li><a>" title="Add to My Yahoo!" > </a> </li>
       </ul>
       </li>
       </ul>
       ```
   

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [dzollo](https://wordpress.org/support/users/dzollo/)
 * Last activity: [18 years, 7 months ago](https://wordpress.org/support/topic/parse-error-7-2/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
