Title: T-Class error
Last modified: April 29, 2020

---

# T-Class error

 *  Resolved [asimawan](https://wordpress.org/support/users/asimawan/)
 * (@asimawan)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/t-class-error/)
 * Hi,
    I have two issues once I logged in to my site after a while.
 * 1. Once I updated my site with new WP version and updated plug ins, I received
   the below message and looks like the woocommerce is having some issues.
 * Parse error: syntax error, unexpected ‘class’ (T_CLASS), expecting identifier(
   T_STRING) or variable (T_VARIABLE) or ‘{‘ or ‘$’ in /home1/asimawan/public_html/
   wp-content/plugins/woocommerce/includes/traits/trait-wc-item-totals.php on line
   44
 * 2. Once I tried to sign in to wordpress.org to get support, it will not allow
   me to reset my password. It pointed to a link as how to reset passwords (By Command
   Line, by php, from main page etc) but NOT from the main place where you just 
   enter the email associated and it should send a password change option.
 * Kindly advice HOW I can have the error removed from my site as the site and the
   admin pages are not accessible.
 * Please note that I am a novice to use wordpress and websites etc, so kindly advise
   in very simple terms/way so I can proceed.
 * Many thanks.
    Asim
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ft-class-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/t-class-error/#post-12754573)
 * Please don’t create duplicate topics: [https://wordpress.org/support/topic/t-class-error-in-woocommerce-on-line-44/](https://wordpress.org/support/topic/t-class-error-in-woocommerce-on-line-44/)

Viewing 1 replies (of 1 total)

The topic ‘T-Class error’ 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/)
 * 1 reply
 * 1 participant
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/t-class-error/#post-12754573)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
