Title: Parse error: syntax error, unexpected T_CLASS
Last modified: November 23, 2017

---

# Parse error: syntax error, unexpected T_CLASS

 *  Resolved [rankings2revenue](https://wordpress.org/support/users/rankings2revenue/)
 * (@rankings2revenue)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_class-3/)
 * I recently updated the wordpress and then updated the wordpress theme SCHON and
   after that i got the following error and not able to resolve it
 * Parse error: syntax error, unexpected T_CLASS, expecting T_STRING or T_VARIABLE
   or ‘$’ in /home4/stableab/public_html/wp-content/themes/schon/inc/login-functions.
   php on line 170
 * If i go back to my previous theme version, i will loose modifications , so i 
   dont want to do that
 * any help would be appreciated
 * 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_class-3%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [8 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_class-3/#post-9715441)
 * You need to talk to your theme author about this, as we don’t support commercial
   themes.
 *  Thread Starter [rankings2revenue](https://wordpress.org/support/users/rankings2revenue/)
 * (@rankings2revenue)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_class-3/#post-9715450)
 * allright
    thanks

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

The topic ‘Parse error: syntax error, unexpected T_CLASS’ 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/)
 * 2 replies
 * 2 participants
 * Last reply from: [rankings2revenue](https://wordpress.org/support/users/rankings2revenue/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_class-3/#post-9715450)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
