I moved my website from local to a hosting, and something happened to me. I include this config file into my index.php (it\'s the first thing I do):
index.php
<
According to the official documentation, Silex requires PHP 5.3 to provide namespace support. Try to migrate your server to PHP 5.3 in order to get rid of this error.
Silex is a PHP microframework for PHP 5.3.