Parse error: syntax error, unexpected T_FUNCTION

Parse error: syntax error, unexpected T_FUNCTION in /wp-content/plugins/onlinecontract/includes/functions.php on line 246

 

This error is caused by your server PHP version being less than 5.3. Please update your PHP version on your server (can easily be done by your hosting company). 

 

Finally, we would very strongly recommend upgrading away from 5.2. I know there are cases where this is difficult, but that fact is that PHP 5.2 was declared end of life more than two years ago; it has not had any security updates in that time, and there are some big holes in it. If you're still stuck on 5.2 then you are falling further and further behind the curve; even 5.3 will be end-of-life in the near future, as 5.5 is due out fairly soon now.