Title: OptionTree parse error
Last modified: August 19, 2016

---

# OptionTree parse error

 *  Resolved [kmaier](https://wordpress.org/support/users/kmaier/)
 * (@kmaier)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/optiontree-parse-error/)
 * any idea what could be choking the activation?
 * Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION
   or T_VAR or ‘}’ in /nfs/c04/h03/mnt/80719/domains/ag.kmaierandsons.com/html/wp-
   content/plugins/option-tree/classes/class.admin.php on line 12

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

 *  [anime_t](https://wordpress.org/support/users/anime_t/)
 * (@anime_t)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/optiontree-parse-error/#post-2011661)
 * can you please explain how you solved it…
    im facing the same problem…
 *  Plugin Author [Derek Herman](https://wordpress.org/support/users/valendesigns/)
 * (@valendesigns)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/optiontree-parse-error/#post-2011809)
 * It seems like it was a PHP version issue, are you running PHP5 or 4? I say this
   because the code doesn’t have any variables or code ran outside of the classes
   functions.
 *  [igartec](https://wordpress.org/support/users/igartec/)
 * (@igartec)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/optiontree-parse-error/#post-2011827)
 * Ok, this is not true…… I have the same problem and talk to my hosting support….
   I have already the PHP v5.1.6 (the last one) and still doesn’t work….. Please,
   can anyone help me??
 * thanks ;D
 *  Thread Starter [kmaier](https://wordpress.org/support/users/kmaier/)
 * (@kmaier)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/optiontree-parse-error/#post-2011828)
 * yes, it was a version problem. i had to switch to PHP5 with my hosting provider.
 *  [igartec](https://wordpress.org/support/users/igartec/)
 * (@igartec)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/optiontree-parse-error/#post-2011829)
 * so, it only works over PHP5? not over 5.1.6??? because my provider says that 
   my version is v5.1.6…….. ;(
 *  Plugin Author [Derek Herman](https://wordpress.org/support/users/valendesigns/)
 * (@valendesigns)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/optiontree-parse-error/#post-2011837)
 * [@igartec](https://wordpress.org/support/users/igartec/) It should work on any
   PHP5 version. There might be something weird happening server side via your hosting
   provider and has nothing to do with your PHP version. It’s very difficult to 
   debug your issue without access or more information.
 *  Plugin Author [Derek Herman](https://wordpress.org/support/users/valendesigns/)
 * (@valendesigns)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/optiontree-parse-error/#post-2011843)
 * This is a PHP version issue. Just had another person running PHP4 with the problem
   who had their host update to PHP5 and everything is working fine.

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

The topic ‘OptionTree parse error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/option-tree_363534.svg)
 * [OptionTree](https://wordpress.org/plugins/option-tree/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/option-tree/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/option-tree/)
 * [Active Topics](https://wordpress.org/support/plugin/option-tree/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/option-tree/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/option-tree/reviews/)

 * 7 replies
 * 4 participants
 * Last reply from: [Derek Herman](https://wordpress.org/support/users/valendesigns/)
 * Last activity: [15 years, 1 month ago](https://wordpress.org/support/topic/optiontree-parse-error/#post-2011843)
 * Status: resolved