Title: unexpected T_FUNCTION
Last modified: August 21, 2016

---

# unexpected T_FUNCTION

 *  Resolved [Marcel Brown](https://wordpress.org/support/users/marcelbrown/)
 * (@marcelbrown)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/unexpected-t_function-1/)
 * Updated to version 0.9.1. Now can’t activate plugin because of the following 
   error:
 * Parse error: syntax error, unexpected T_FUNCTION in /home/simplysm/public_html/
   wp-content/plugins/category-posts-in-custom-menu/category-posts-in-custom-menu.
   php on line 125
 * WordPress 3.8 with Genesis 2.02 and Serenity 1.02 child theme.
 * Any help would be appreciated. Thanks!
 * [http://wordpress.org/plugins/category-posts-in-custom-menu/](http://wordpress.org/plugins/category-posts-in-custom-menu/)

Viewing 3 replies - 16 through 18 (of 18 total)

[←](https://wordpress.org/support/topic/unexpected-t_function-1/?output_format=md)
[1](https://wordpress.org/support/topic/unexpected-t_function-1/?output_format=md)
2

 *  [r.glenn.nall](https://wordpress.org/support/users/archienall/)
 * (@archienall)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/unexpected-t_function-1/page/2/#post-4496668)
 * worked GREAT this way for me, too. thanks. (i’ve noticed this same error with
   another plugin, recently, too…)
 *  Plugin Author [Diana van de Laarschot](https://wordpress.org/support/users/anaid/)
 * (@anaid)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/unexpected-t_function-1/page/2/#post-4496675)
 * Hi r.glenn.nall,
 * thank you kindly for testing the development version as well.
    I will mark version
   0.9.2 tonight when I get home.
 * Kind regards,
    Diana
 *  Plugin Author [Diana van de Laarschot](https://wordpress.org/support/users/anaid/)
 * (@anaid)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/unexpected-t_function-1/page/2/#post-4496684)
 * Version 0.9.2 has been committed and tagged.
 * Kind regards,
    Diana

Viewing 3 replies - 16 through 18 (of 18 total)

[←](https://wordpress.org/support/topic/unexpected-t_function-1/?output_format=md)
[1](https://wordpress.org/support/topic/unexpected-t_function-1/?output_format=md)
2

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

 * ![](https://ps.w.org/category-posts-in-custom-menu/assets/icon-128x128.png?rev
   =2539336)
 * [Category Posts in Custom Menu](https://wordpress.org/plugins/category-posts-in-custom-menu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/category-posts-in-custom-menu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/category-posts-in-custom-menu/)
 * [Active Topics](https://wordpress.org/support/plugin/category-posts-in-custom-menu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/category-posts-in-custom-menu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/category-posts-in-custom-menu/reviews/)

## Tags

 * [parse-error](https://wordpress.org/support/topic-tag/parse-error/)
 * [T_FUNCTION](https://wordpress.org/support/topic-tag/t_function/)

 * 18 replies
 * 7 participants
 * Last reply from: [Diana van de Laarschot](https://wordpress.org/support/users/anaid/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/unexpected-t_function-1/page/2/#post-4496684)
 * Status: resolved