Parse error: syntax error, unexpected T_FUNCTION
-
When trying to install SinglePlatform running WP 4.6.1 and the TwentyFifteen default theme, I’m presented with the error:
Parse error: syntax error, unexpected T_FUNCTION in /home/SITE_NAME/public_html/beta/wp-content/plugins/singleplatform/singleplatform.php on line 107
The remote server is running php 5.2. I’ve tested this locally with MAMP running php 5.5 and have had no issues installing the plugin. Maybe answering my own question here, but is it a fair assumption that this is just an issue with php versions, as I’ve seen discussed elsewhere regarding other plugins encountering the same or similar errors? My host has php 5.4 available to me, but I’d like to verify that that will in fact fix my issue before just flipping the switch. They also have 5.6 beta, but I’m a bit hesitant to run a beta version in production. Any help or suggestions are much appreciated.
- The topic ‘Parse error: syntax error, unexpected T_FUNCTION’ is closed to new replies.