sfc-login.php – Parse error: parse error, unexpected ‘{‘

Getting the sfc-login.phpParse error:

parse error, unexpected ‘{‘  … on line 207 or 210 of sfc-login.php

Well… I was.

I did some search on Google which took me to a page on the Worpdress codex site where Otto himself (developer of the SFC plugin) explained that it was an issue with the version of PHP that is running on the server hosting your wordpress with the SFC plugin. Bottom line, you need to have PHP v.5 to run the plugin.

I did not get acquainted with this issue until I uploaded the site online. On my localhost it was working just fine. So seeing that error when I first launched the site online was a bummer. Anyhow I am happy to say that I managed to upgrade my hosting server’s PHP version to PHP v.5.x… I host at GoDaddy and the upgrade was easy and breezy.

Simply find a way to upgrade your hosting server to enable PHP v.5 and your problem will be solved.

If you host at GoDaddy, here’s how you can upgrade your hosting server:

http://www.wpsecuritylock.com/how-to-upgrade-from-php-4-x-to-php-5-x-at-godaddy/