• 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)
  • 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

    (@runningyourrace)

    @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…

    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 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.