Title: Fatal error Unexpected T_FUNCTION
Last modified: August 21, 2016

---

# Fatal error Unexpected T_FUNCTION

 *  Resolved [mdw](https://wordpress.org/support/users/yamaryam/)
 * (@yamaryam)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/fatal-error-unexpected-t_function/)
 * Parse error: syntax error, unexpected T_FUNCTION in /home5/leguided/public_html/
   wp-content/plugins/wp-performance-pack/wp-performance-pack.php on line 209
 * [https://wordpress.org/plugins/wp-performance-pack/](https://wordpress.org/plugins/wp-performance-pack/)

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

 *  Plugin Author [Bjoern](https://wordpress.org/support/users/greencp/)
 * (@greencp)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/fatal-error-unexpected-t_function/#post-4978597)
 * Which PHP version do you use? And did this happen when you activated the plugin?
 *  Thread Starter [mdw](https://wordpress.org/support/users/yamaryam/)
 * (@yamaryam)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/fatal-error-unexpected-t_function/#post-4978764)
 * Yes and it is version 5.5.37
 *  Plugin Author [Bjoern](https://wordpress.org/support/users/greencp/)
 * (@greencp)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/fatal-error-unexpected-t_function/#post-4978830)
 * I don’t know why that error occurs (the specific it should work with your PHP
   version), but I think I know what causes the issue, so I’ll change the implementation.
   The next update (somewhen this Weekend – I’m in the middle of some major code
   changes) should fix it.
 *  Thread Starter [mdw](https://wordpress.org/support/users/yamaryam/)
 * (@yamaryam)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-unexpected-t_function/#post-4978843)
 * awesome thank you!
 *  Plugin Author [Bjoern](https://wordpress.org/support/users/greencp/)
 * (@greencp)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-unexpected-t_function/#post-4978895)
 * It took a while longer, but I just uploaded Version 1.7.5. Please test if now
   you can activate the plugin without errors.
 *  Thread Starter [mdw](https://wordpress.org/support/users/yamaryam/)
 * (@yamaryam)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-unexpected-t_function/#post-4978896)
 * hum sorry
    Fatal error: Undefined class constant ‘_options_name’ in /home5/leguided/
   public_html/wp-content/plugins/wp-performance-pack/class.wp_performance_pack.
   php on line 314
 * and actually I gave you the wrong information about the php, 5.5.37 was the SQL
   version. PHP is 5.4
 *  [Dademaru](https://wordpress.org/support/users/xendo/)
 * (@xendo)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-unexpected-t_function/#post-4978897)
 * Hi,
    I get the same error when trying to install the plugin: “Fatal error: Undefined
   class constant ‘_options_name’ in /…/wp-content/plugins/wp-performance-pack/class.
   wp_performance_pack.php on line 314
 * PHP version 5.4.24
    MySQL version 5.5.36-cll
 * Thanks
    Davide
 *  [swarnat](https://wordpress.org/support/users/swarnat/)
 * (@swarnat)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-unexpected-t_function/#post-4978900)
 * Hy,
    Same here. But if you look into this file you see, I think Bjoern renamed
   the constants. You could modify this easily by your own. 🙂
 * Stefan
 *  Plugin Author [Bjoern](https://wordpress.org/support/users/greencp/)
 * (@greencp)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-unexpected-t_function/#post-4978901)
 * Sorry, don’t know how that one slipped through. Should be fixed in 1.7.6.
 *  Thread Starter [mdw](https://wordpress.org/support/users/yamaryam/)
 * (@yamaryam)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-unexpected-t_function/#post-4978903)
 * issue solved, that was fast 🙂

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

The topic ‘Fatal error Unexpected T_FUNCTION’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-performance-pack_6d9fb6.svg)
 * [WP Performance Pack](https://wordpress.org/plugins/wp-performance-pack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-performance-pack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-performance-pack/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-performance-pack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-performance-pack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-performance-pack/reviews/)

 * 10 replies
 * 4 participants
 * Last reply from: [mdw](https://wordpress.org/support/users/yamaryam/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-unexpected-t_function/#post-4978903)
 * Status: resolved