Title: Parse error: syntax error, unexpected T_VARIABLE
Last modified: August 20, 2016

---

# Parse error: syntax error, unexpected T_VARIABLE

 *  [runningyourrace](https://wordpress.org/support/users/runningyourrace/)
 * (@runningyourrace)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_variable-3/)
 * I was trying to add the Featured Content Gallery plugin to my blog this morning
   and they said to put a certain code in my blog in order for it to work properly…
 * After doing so i now get this every time o go to my website…
 * Parse error: syntax error, unexpected T_VARIABLE in /home/content/r/y/a/ryancelestain/
   html/wp-includes/functions.php on line 522
 * I have no clue what to do… how to fix it… i don’t even know how to login to my
   blog to change any of the settings…
 * Please help!

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

 *  [teddy_refspin](https://wordpress.org/support/users/teddy_refspin/)
 * (@teddy_refspin)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_variable-3/#post-2307080)
 * Whatever is on line 522, look up a few lines and makes sure you terminated the
   new line of code with a semi-colon.
 * Have a look here:
 *     ```
       1. $var1 = 0;
       2. $var2 = 1
       3. $var3 = 2;
       ```
   
 * In the above example, Line 2 needs a semi-colon, or an “unexpected T_VARIABLE”
   error will appear and the whole thing will fail.
 *  Thread Starter [runningyourrace](https://wordpress.org/support/users/runningyourrace/)
 * (@runningyourrace)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_variable-3/#post-2307087)
 * [@teddy_refspin](https://wordpress.org/support/users/teddy_refspin/)
 * Thank you…
 * How am i able to login to make this change?
 * Each time i try to login i get the…
 * Parse error: syntax error, unexpected T_VARIABLE in /home/content/r/y/a/ryancelestain/
   html/wp-includes/functions.php on line 522
 * Anytime runningyourrace.com is in the web address i get that message…
 *  [teddy_refspin](https://wordpress.org/support/users/teddy_refspin/)
 * (@teddy_refspin)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_variable-3/#post-2307097)
 * My suggestion is based on actual code editing, but since you can’t log in at 
   all I suspect something has gone horribly wrong.
 * You may want to restore from a recent backup from before the plugin was installed.
   Then contact the plugin developer, or pay their [support forum](http://www.featuredcontentgallery.com/forum/)
   a visit to see why their code knocked your whole blog offline…

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

The topic ‘Parse error: syntax error, unexpected T_VARIABLE’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [teddy_refspin](https://wordpress.org/support/users/teddy_refspin/)
 * Last activity: [14 years, 9 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_variable-3/#post-2307097)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
