• Resolved fontmark

    (@fontmark)


    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/

Viewing 1 replies (of 1 total)
  • Plugin Author Hank Brekke

    (@z43-studio)

    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

Viewing 1 replies (of 1 total)

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