Title: syntax error, unexpected T_FUNCTION
Last modified: December 17, 2018

---

# syntax error, unexpected T_FUNCTION

 *  [NicheLabs](https://wordpress.org/support/users/allennichelabs/)
 * (@allennichelabs)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/syntax-error-unexpected-t_function-10/)
 * When I upgrade to the latest version I get this error and the site goes down 
   until I restore a backup copy of the older release.
 * Here is the full error:
    Parse error: syntax error, unexpected T_FUNCTION in /
   home/content/29/4040829/html/wp-content/plugins/cms-tree-page-view/functions.
   php on line 654

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

 * ![](https://s.w.org/plugins/geopattern-icon/cms-tree-page-view_f1f1f1.svg)
 * [CMS Tree Page View](https://wordpress.org/plugins/cms-tree-page-view/)
 * [Support Threads](https://wordpress.org/support/plugin/cms-tree-page-view/)
 * [Active Topics](https://wordpress.org/support/plugin/cms-tree-page-view/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cms-tree-page-view/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cms-tree-page-view/reviews/)

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