Title: Plugin Activation Error
Last modified: August 19, 2016

---

# Plugin Activation Error

 *  Resolved [Allisons](https://wordpress.org/support/users/allisons/)
 * (@allisons)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-activation-error-3/)
 * Hi, I installed this update on my site and when I try to activate the plugin,
   I receive the following error message:
 * > Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or
   > T_FUNCTION or T_VAR or ‘}’ in /usr/local/pem/vhosts/webspace/httpdocs/wp-content/
   > plugins/catablog/lib/CataBlog.class.php on line 10
 * I have not altered any of the files, this is a fresh installation of the plugin,
   and I am using wordpress 3.1.2. Does anyone have any advice on how to fix this?

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

 *  Plugin Author [macguru2000](https://wordpress.org/support/users/macguru2000/)
 * (@macguru2000)
 * [15 years ago](https://wordpress.org/support/topic/plugin-activation-error-3/#post-2056513)
 * A code refactoring caused this error, by putting the system requirements checks
   into a PHP 5 only class. You need to upgrade your server’s version of PHP to 
   version 5.0 or later, it is a requirement for CataBlog. It also is a good idea
   since PHP 6, while not in mainstream use, is publicly available. You may talk
   to your hosting provider or system admin about upgrading.
 *  Plugin Author [macguru2000](https://wordpress.org/support/users/macguru2000/)
 * (@macguru2000)
 * [15 years ago](https://wordpress.org/support/topic/plugin-activation-error-3/#post-2056555)
 * Also, it would be wonderful if you could remove the broken status from my plugin.
 *  Thread Starter [Allisons](https://wordpress.org/support/users/allisons/)
 * (@allisons)
 * [15 years ago](https://wordpress.org/support/topic/plugin-activation-error-3/#post-2056574)
 * Thank you for the quick response. Switching to PHP5 does fix the problem. 🙂
 *  Plugin Author [macguru2000](https://wordpress.org/support/users/macguru2000/)
 * (@macguru2000)
 * [15 years ago](https://wordpress.org/support/topic/plugin-activation-error-3/#post-2056578)
 * Thank you for changing your plugin status from broken to fixed. 🙂
 *  Thread Starter [Allisons](https://wordpress.org/support/users/allisons/)
 * (@allisons)
 * [15 years ago](https://wordpress.org/support/topic/plugin-activation-error-3/#post-2056585)
 * You’re welcome 🙂

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

The topic ‘Plugin Activation Error’ is closed to new replies.

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

 * 5 replies
 * 2 participants
 * Last reply from: [Allisons](https://wordpress.org/support/users/allisons/)
 * Last activity: [15 years ago](https://wordpress.org/support/topic/plugin-activation-error-3/#post-2056585)
 * Status: resolved