Closed relte closed 7 years ago
It's caused by https://github.com/symfony-cmf/block-bundle/pull/274.
We need to revert that PR in our repository.
@pamil, actually it's not a problem. I tried to install the previous version of symfony-cmf/block bundle (the 2.0.0-RC1) and it caused the same result. The error is thrown because of missing new \Symfony\Cmf\Bundle\MediaBundle\CmfMediaBundle()
declaration in AppKernel.php file.
There are also few routing files that are required for this bundle:
#shop_routing.yml:
...
cmf_media_file:
resource: "@CmfMediaBundle/Resources/config/routing/file.xml"
cmf_media_image:
resource: "@CmfMediaBundle/Resources/config/routing/image.xml"
_liip_imagine:
resource: "@LiipImagineBundle/Resources/config/routing.xml"
To make things work together phpcr repository has to be initialized once again:
bin/console doctrine:phpcr:repository:init
Unfortunately the CmfMediaBundle is no longer maintained which can cause more issues in future develompent.
This issue still exists.
@michalmarcinkowski, @pamil, Any chance for anyone to re-review this?
The following error occurs when trying to create a block with an image: