Title: Parse error on upgrade
Last modified: August 21, 2016

---

# Parse error on upgrade

 *  Resolved [Stephen](https://wordpress.org/support/users/sboltonjr/)
 * (@sboltonjr)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/parse-error-on-upgrade/)
 * Parse error: syntax error, unexpected T_FUNCTION in /home/example/wp-content/
   plugins/wp-cms-post-control/inc/wp-cms-class-pcontrol.php on line 119
 * Changed the path to give an example of what is happening when I just upgraded
   your plugin to the latest. Using WordPress 3.6.1 . Not really concerned about
   the bug on my end since I’m not using the site currently but thought I would 
   note it. If you have any questions for me let me know. Thanks.
 * [http://wordpress.org/plugins/wp-cms-post-control/](http://wordpress.org/plugins/wp-cms-post-control/)

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

 *  Thread Starter [Stephen](https://wordpress.org/support/users/sboltonjr/)
 * (@sboltonjr)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/parse-error-on-upgrade/#post-4245995)
 * Another important note, this error doesn’t allow activation of the plugin.
 *  [suryadewa](https://wordpress.org/support/users/suryadewa/)
 * (@suryadewa)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/parse-error-on-upgrade/#post-4246112)
 * me too got that error after upgrade
 *  [EduardoG](https://wordpress.org/support/users/eduardog/)
 * (@eduardog)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/parse-error-on-upgrade/#post-4246185)
 * and me too
 *  [Saftawy](https://wordpress.org/support/users/saftawy/)
 * (@saftawy)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/parse-error-on-upgrade/#post-4246228)
 * SAME HERE!
    I had to downgrade via ftp.
 *  Thread Starter [Stephen](https://wordpress.org/support/users/sboltonjr/)
 * (@sboltonjr)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/parse-error-on-upgrade/#post-4246231)
 * What kind of hosting is everyone using? I am using godaddy linux shared hosting(
   not the 4GH hosting, the legacy I believe). Not sure what version php, or if 
   any of that matters, just some thoughts for the author of the plugin. I can turn
   on/off plugins if needed to see because the plugin is on a website I don’t have
   currently enabled for the public.
 *  Plugin Author [jonnyauk](https://wordpress.org/support/users/jonnyauk/)
 * (@jonnyauk)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/parse-error-on-upgrade/#post-4246271)
 * Thanks for letting me know guys – it is actually down to me using a newer version
   of PHP to test the plugin. I have amended the code to make it backwards compatible
   now – please update to v2.81 and let me know if there are any more issues – but
   v2.81 should certainly fix that – apologies!
 *  [Saftawy](https://wordpress.org/support/users/saftawy/)
 * (@saftawy)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/parse-error-on-upgrade/#post-4246286)
 * Thanks for the quick fix. It’s working now 🙂
 *  Thread Starter [Stephen](https://wordpress.org/support/users/sboltonjr/)
 * (@sboltonjr)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/parse-error-on-upgrade/#post-4246287)
 * You are welcome jonnyauk, I assumed it had something to do with what PHP I am
   running under.

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

The topic ‘Parse error on upgrade’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-cms-post-control_84aeba.svg)
 * [WP-CMS Post Control](https://wordpress.org/plugins/wp-cms-post-control/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-cms-post-control/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-cms-post-control/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-cms-post-control/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-cms-post-control/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-cms-post-control/reviews/)

 * 8 replies
 * 5 participants
 * Last reply from: [Stephen](https://wordpress.org/support/users/sboltonjr/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/parse-error-on-upgrade/#post-4246287)
 * Status: resolved