Title: Parse error: syntax error, unexpected T_FUNCTION
Last modified: April 27, 2018

---

# Parse error: syntax error, unexpected T_FUNCTION

 *  Resolved [cruiser34](https://wordpress.org/support/users/cruiser34/)
 * (@cruiser34)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-34/)
 * Hi Folks
 * i’ve just updated wordpress and a forms plugin and now i can’t get into my website
   or dashboard. looks like the issue is with functions.php ?
 * Parse error: syntax error, unexpected T_FUNCTION in /home/blueguit/public_html/
   wp-content/themes/hitchcock/functions.php on line 523
 * can anyone help?
 * thanks 🙂
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fparse-error-syntax-error-unexpected-t_function-34%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-34/#post-10226613)
 * Your`hitchcock` theme seems o be the error.
 * Repair or replace this file: /wp-content/themes/hitchcock/functions.php
 * If you need immediate access to your dashboard, access your server via FTP/ SFTP,
   or a file manager in your hosting account’s control panel (consult your hosting
   provider’s documentation for specifics on these), navigate to /wp-content/themes/
   and switch to the default theme by renaming your current theme’s folder by adding"-
   old" to the end of the folder name. Alternately, you can remove other themes 
   except the default theme (Twenty Seventeen, etc.). That will force your site 
   to use it.
 *  Thread Starter [cruiser34](https://wordpress.org/support/users/cruiser34/)
 * (@cruiser34)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-34/#post-10226641)
 * thanks
    i took a backup just before updating, so i replaced the file and it’s
   working again
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-34/#post-10226649)
 * Glad to know it 🙂
    -  This reply was modified 8 years, 1 month ago by [t-p](https://wordpress.org/support/users/t-p/).
 *  Thread Starter [cruiser34](https://wordpress.org/support/users/cruiser34/)
 * (@cruiser34)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-34/#post-10226655)
 * on the dashboard it now says ‘Your site is running an outdated version of PHP
   that is no longer supported and may cause issues with WPForms. Read more for 
   additional information.
 * Please Note: After April 2018, WPForms will be deactivated if not further action
   is taken.’
 * looks like i’ll have to contact my host provider
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-34/#post-10226754)
 * Yes, contact your hosting provider.

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

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [t-p](https://wordpress.org/support/users/t-p/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-34/#post-10226754)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
