Title: Syntax error, Unexpected T_Function error
Last modified: November 21, 2018

---

# Syntax error, Unexpected T_Function error

 *  [rammwoodsmedia](https://wordpress.org/support/users/rammwoodsmedia/)
 * (@rammwoodsmedia)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/syntax-error-unexpected-t_function-error/)
 * I keep getting this error when I try to activate the WP-Edit plugin.
 * PHP Parse error: syntax error, unexpected T_FUNCTION in /home2/caperdog/public_html/
   glbtc.org/wp-content/plugins/wp-edit/includes/functions.php on line 767
 * Using PHP version 7.0
 * How can this be fixed?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fsyntax-error-unexpected-t_function-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

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

 * 0 replies
 * 1 participant
 * Last reply from: [rammwoodsmedia](https://wordpress.org/support/users/rammwoodsmedia/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/syntax-error-unexpected-t_function-error/)
 * Status: not resolved