Title: parse error
Last modified: August 20, 2016

---

# parse error

 *  [linguagenius](https://wordpress.org/support/users/linguagenius/)
 * (@linguagenius)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/parse-error-115/)
 * I copied twitter into my .php and now I get the following error message so that
   I can’t access my site.
 * Parse error: syntax error, unexpected ‘<‘ in /home/linguag/public_html/wp-content/
   themes/twentyeleven/inc/widgets.php on line 24
 *  Help! it looks similar to the previous topic, but I need help in very clear 
   language as I am new to WordPress! Thanks.

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

 *  [Brad Markle](https://wordpress.org/support/users/imh_brad/)
 * (@imh_brad)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/parse-error-115/#post-2431373)
 * Hi linguagenius, can you shed some more light on what you mean by the below?
 * > I copied twitter into my .php and now I get the following error message so 
   > that I can’t access my site.
 * What exactly do you mean by “twitter” and what .php file did you edit? The more
   info you can provide, the more it will help us help you!
 *  Thread Starter [linguagenius](https://wordpress.org/support/users/linguagenius/)
 * (@linguagenius)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/parse-error-115/#post-2431415)
 * Hi Brad,
    Thanks so much for offering to help … I was trying to add the twitter‘
   follow’ button so I copied and pasted the code into my sidebar .php
 *     ```
       <a href="https://twitter.com/Linguagenius">Follow @Linguagenius</a>
       <script src="//platform.twitter.com/widgets.js" type="text/javascript"></script>
       ```
   
 * _[Please post code snippets between backticks or use the code button.]_
 * I did the same with the twitter ‘profile widget’
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome#Posting_Code).
   Please use the [pastebin](http://wordpress.pastebin.com/)]_
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/parse-error-115/#post-2431416)
 * Do not edit the Twenty Eleven theme. It is the default WordPress 3.2 theme and
   having access to an **unedited** version of the theme is vital when dealing with
   a range of site issues. [Create a child theme for your changes](http://codex.wordpress.org/Child_Themes).
   Once your child theme is active, we should be able to help with the customisation.
 *  [Brad Markle](https://wordpress.org/support/users/imh_brad/)
 * (@imh_brad)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/parse-error-115/#post-2431445)
 * Hi linguagenius, I just wanted to touch base and say that I’m still here and 
   still happy to help. Please be sure to follow the recommendation of the moderators
   and:
 * 1. Use pastebin.com to show us your code
    2. Undo your changes to sidebar.php
   and then respond back with a few more details.
 * Also, have you though about simply adding the code you originall provided as 
   a text widget?
 *  Thread Starter [linguagenius](https://wordpress.org/support/users/linguagenius/)
 * (@linguagenius)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/parse-error-115/#post-2431446)
 * Hi Brad,
    I have used Pastebin, and entitled the post Linguagenius. I hope you
   can see it. I don’t know how I would make changes to sidebar.php, given that 
   I cannot access my site at all: when I go to linguagenius.com, I get the error
   message I began my post with – not the site itself.
 * Thanks
 * Garry
 *  [Brad Markle](https://wordpress.org/support/users/imh_brad/)
 * (@imh_brad)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/parse-error-115/#post-2431447)
 * > I have used Pastebin, and entitled the post Linguagenius.
 * To troubleshoot this issue, we’ll need to see the entire sidepar.php file. Can
   you try posting again in pastebin?
 * > I don’t know how I would make changes to sidebar.php, given that I cannot access
   > my site at all.
 * If you don’t have access to your website, you should still have access to FTP.
   With the [online visual domain routing tool](http://www.inmotionhosting.com/support/tools/visual-domain-routing?domain=linguagenius.com),
   I can see that your site is hosted with Hostgator. I recommend that you view 
   their ftp tutorial here:
    [http://www.hostgator.com/tutorials/ftp/filezilla/managing-files-and-directories-via-filezilla.htm](http://www.hostgator.com/tutorials/ftp/filezilla/managing-files-and-directories-via-filezilla.htm)
 *  Thread Starter [linguagenius](https://wordpress.org/support/users/linguagenius/)
 * (@linguagenius)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/parse-error-115/#post-2431457)
 * Thanks Brad. I have looked at the tutorial but still not sure what to actually
   do next (I can’t find sidebar php in the file manager) so I have asked hostgator
   support if they can help in any way.
    Garry
 *  [Brad Markle](https://wordpress.org/support/users/imh_brad/)
 * (@imh_brad)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/parse-error-115/#post-2431458)
 * Hi Garry, thanks for keeping us updated! Let us know how it goes with Hostgator.
 *  [Brad Markle](https://wordpress.org/support/users/imh_brad/)
 * (@imh_brad)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/parse-error-115/#post-2431460)
 * Hi Garry, have you been able to make any progress with Hostgator Tech Support?

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

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

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 9 replies
 * 3 participants
 * Last reply from: [Brad Markle](https://wordpress.org/support/users/imh_brad/)
 * Last activity: [14 years, 5 months ago](https://wordpress.org/support/topic/parse-error-115/#post-2431460)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
