Title: Error when activating
Last modified: August 21, 2016

---

# Error when activating

 *  Resolved [fontmark](https://wordpress.org/support/users/fontmark/)
 * (@fontmark)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/error-when-activating-10/)
 * Hi,
 * Your plugin looks great and I’m eager to use it. Installing went OK, but when
   I attempt to activate it, I get the following error:
 * Parse error: syntax error, unexpected T_FUNCTION in /home/markefontenot/markfontenot.
   net/wp-content/plugins/codeblocks/system.php on line 72
 * I’m not a wordpress or php ninja, so I’m honestly not sure what other info to
   provide you. But, I’m happy to reply back with anything else.
 * Looking forward to checking out your plugin.
 * [https://wordpress.org/plugins/codeblocks/](https://wordpress.org/plugins/codeblocks/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Hank Brekke](https://wordpress.org/support/users/z43-studio/)
 * (@z43-studio)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/error-when-activating-10/#post-5044663)
 * It looks like you’re using an older version of PHP that’s not supported.
 * You’ll need PHP 5.3.0 or newer. But keep in mind that 5.3.0 was released in 2009(
   five years ago now). In other words, you are using an EXTREMELY outdated version
   of PHP. If you manage your server yourself, it is definitely something you should
   check on. If you pay a web host, you should contact them soon and ask about upgrading
   their PHP version. Some web hosts require you to rename the .php extension with.
   php5 to use the newer versions of PHP–your host would explain this.
 * [http://stackoverflow.com/questions/3635945/callback-function-in-array-filter](http://stackoverflow.com/questions/3635945/callback-function-in-array-filter)

Viewing 1 replies (of 1 total)

The topic ‘Error when activating’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/codeblocks.svg)
 * [Codeblocks](https://wordpress.org/plugins/codeblocks/)
 * [Support Threads](https://wordpress.org/support/plugin/codeblocks/)
 * [Active Topics](https://wordpress.org/support/plugin/codeblocks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/codeblocks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/codeblocks/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Hank Brekke](https://wordpress.org/support/users/z43-studio/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/error-when-activating-10/#post-5044663)
 * Status: resolved