When upgrading eZ Publish from 5.1 to 5.2, you need to do the following changes to the code that came from the base distribution:
-
Change
EzPublishKernel
's inheritance fromSymfony\Component\HttpKernel\Kernel
toeZ\Bundle\EzPublishCoreBundle\Kernel
. For this, inezpublish/EzPublishKernel.php
, just replace:use Symfony\Component\HttpKernel\Kernel;
By:
use eZ\Bundle\EzPublishCoreBundle\Kernel;