Upgrading Concrete 5

Permalink
I am having trouble upgrading Concrete 5!

This is what it says before I upgrade

Upgrading from 5.6.0.2
Upgrading to 5.6.1.2

Then when I click on Upgrade I get this -

Parse error: syntax error, unexpected T_IF, expecting T_FUNCTION in /home3/catch22/public_html/www.royaltyfreehorrormusic.com/blocks/search/controller.php on line 182


Any ideas?