Title: Unexpected T_Function
Last modified: September 6, 2016

---

# Unexpected T_Function

 *  [janbso](https://wordpress.org/support/users/janbso/)
 * (@janbso)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/unexpected-t_function-4/)
 * When installing and testing several themes I got this error msg
 * Parse error: syntax error, unexpected T_FUNCTION in /home/colegio/public_html/
   skoleavisen/wp-content/themes/maggie-lite/inc/maggie-functions.php on line 690
 * I have searched this and all the solutions want to go into the source with FTP
   program and either delete the template or edit the init file .htm???
 * I have no posibility to use FTP to this server.
 * What todo ??

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

 *  [stephencottontail](https://wordpress.org/support/users/stephencottontail/)
 * (@stephencottontail)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/unexpected-t_function-4/#post-8149806)
 * Can you reach your Dashboard? Is there any possibility of you gaining FTP access
   or do you have access to cPanel or something similar?
 *  Thread Starter [janbso](https://wordpress.org/support/users/janbso/)
 * (@janbso)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/unexpected-t_function-4/#post-8159082)
 * I have now FTP access. What is the next step ?
 *  [stephencottontail](https://wordpress.org/support/users/stephencottontail/)
 * (@stephencottontail)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/unexpected-t_function-4/#post-8176843)
 * Sorry for the late reply. Now that you have FTP access, you can delete the `maggie-
   lite` theme folder, which will switch you back to the default Twenty Sixteen 
   theme and allow you access to your Dashboard again.
 * For your actual issue with the theme, which version of PHP are you running? Looking
   at the theme’s code, it uses an anonymous function on line 690, which wasn’t 
   supported until PHP 5.3. You may need to ask your host how to upgrade your PHP
   version.
 *  Thread Starter [janbso](https://wordpress.org/support/users/janbso/)
 * (@janbso)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/unexpected-t_function-4/#post-8177031)
 * Sorry stephencottontail
    I had to delete everything and start from scratch. It
   is up and running again. But, if I see anyone that have the same problem, I will
   give them an answer as fast as I can. I know how much it hurt to sit there and
   have problems. Thank you very much for reply. p.s. the WP and PHP was the very
   last one.

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

The topic ‘Unexpected T_Function’ is closed to new replies.

 * 4 replies
 * 2 participants
 * Last reply from: [janbso](https://wordpress.org/support/users/janbso/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/unexpected-t_function-4/#post-8177031)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
