What version of PHP are you using?
Sounds like you need to upgrade to PHP 5.3 or higher. I just received a similar message through twitter that had the same error and they were on PHP 5.2. Pods has a minimum PHP requirement of 5.3 (though, of course, running a higher version would be better).
If you have your hosting account upgrade your PHP, I’m fairly sure your issue will resolve.
I have the same problem, however my PHP version is 5.6.29 on Bluehost.com. I deleted and reinstalled Pods 2.6.9 and I still cannot re-activate Pods without this error:
Parse error: syntax error, unexpected T_FUNCTION in /home2/piriroch/public_html/wp-content/plugins/pods/includes/general.php on line 1002
Thoughts?
Hi @john_6x6,
This parse error is not very common in PHP 5.6. I have Pods installed at some hosts with PHP 5.6.x and even PHP 5.4.x (sigh) and it works fine.
If a parse error would happen on 5.6 then this support forum should overflow with issues. A parse error is not specific to a configuration or anything so it would break every installation with the same PHP version. Which is not the case.
Please double-check your PHP version.
http://php.net/manual/en/function.phpversion.php
Regards, Jory
Go to Pods Admin > Settings and let us know what PHP version it says there. Sometimes what PHP version the host says and what it uses is different because some directories can be set either by mistake or manually overridden as other PHP versions.
@sc0ttkclark, you were right on. I couldn’t activate the plugin to check there, so I added the file with “phpinfo()” instead. Shows it’s actually 5.2.17. I will notify the host.
Thank you all!
FYI… they updated the PHP version to 5.6.29 right away and all is fine now. Thanks again for the help.
Hey glad to hear it @john_6x6 🙂