I tried to install a pimcore demo via composer. I checked the prerequisites, everything looked fine.
composer create-project went fine as well. But when I try to run the ./vendor/bin/pimcore-install, the process stops with an error after asking for admin and mysql credentials:
Booting new kernel…
5/10 [==============>-------------] 50%
[ERROR] The following errors were encountered during installation
- Warning: Declaration of Pimcore\Bundle\CoreBundle\EventListener\LegacyTemplateListener::onKernelView(Symfony\Component\HttpKernel\Event\GetResponseForControllerResultEvent $event) should be compatible with Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::onKernelView(Symfony\Component\HttpKernel\Event\KernelEvent $event)
I get the same error when I try to start the console (./bin/console)
I am using Ubuntu 18.04.2 LTS with PHP 7.2
I googled fpr this error, but no one seems to have this problem.