contao / manager-bundle

[READ-ONLY] Contao Manager Bundle
GNU Lesser General Public License v3.0
17 stars 10 forks source link

PHP error on first run in Plugin.php #55

Closed damianon closed 6 years ago

damianon commented 6 years ago

After downloading contao 4.5.3 (manually) and extracting, pointing DocumentRoot to the web/ dir and calling /install.php I get this error

Parse error: syntax error, unexpected '?' in /data/web/sgcontao/vendor/contao/manager-bundle/src/ContaoManager/Plugin.php on line 137

Line 137 looks like this: public function getRouteCollection(LoaderResolverInterface $resolver, KernelInterface $kernel): ?RouteCollection

Running on Ubuntu 16.04. with php 7.0

fritzmg commented 6 years ago

Contao 4.5 requires at least PHP 7.1