That looks like a PHP version problem
What version is the server running?
(and is it the latest Silverstripe version)
What version is your development machine running? What version is your server running?
There's likely to be a mismatch
How did you get the Silverstripe code? Did you use composer, or download the zip file?
I used composer to my localhost and then ftp it onto the server
OK. And the PHP version on your local machine?