Wordpress Plugin Activation Error

What the Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ???!!!!

Was trying to activate a plugin for client and kept receiving the following error:

Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or

Turns out that I had to make sure that the client’s server was running PHP5 for the site. An easy switch in cpanel under PHP Configuration did the trick.

Category:

Author: rosschapman

Created on: October 1st, 2009

leave a comment

Back to article list