Erison Silva
Erison Silva
> For > > ``` > http://localhost:8001/admin/app/sonatapagepage/tree > ``` > > it's the same issue than #1498 > > I proposed a solution. NIce ❤️
I added a new issue in dashboard
@VincentLanglet have you tried to add this in the pipelines: https://symfony.com/doc/current/translation/debug.html to get the missing translations?
> > @VincentLanglet have you tried to add this in the pipelines: https://symfony.com/doc/current/translation/debug.html to get the missing translations? > > It would miss all the translation key generated dynamically if...
> Saw the same error and tried to fix, but didn't found a solution without touching BlockBundle. I only tried for half an hour, so I might be wrong. I...
> I've checked #1483 changes and as we don't have `OptionsResolver` in `src/Block/BlockContextManager.php` anymore, error happens on `$optionsResolver->resolve($settings);` -> BlockBundle : [BlockContextManager.php#L289](https://github.com/sonata-project/SonataBlockBundle/blob/45b7547dd6c00b60b76ae63ad08f2c399c67b350/src/Block/BlockContextManager.php#L289) > > I tried to update `get` function...
> > I tried to update `get` function on `BlockContextManager` to add (merge) `$settings` to `$block` but I guess we can fix this issue with add `$optionsResolver->setDefaults($settings);` to BlockBundle :...
> > when I'm running composer update -W, I'm facing this issue Compile Error: Type of App\Entity\SonataPageBlock::$page must be ?Sonata\Pa !! geBundle\Model\PageInterface (as in class Sonata\PageBundle\Model\Block) at In SonataPageBlock.php line...
> > when I'm running composer update -W, I'm facing this issue Compile Error: Type of App\Entity\SonataPageBlock::$page must be ?Sonata\Pa !! geBundle\Model\PageInterface (as in class Sonata\PageBundle\Model\Block) at In SonataPageBlock.php line...
> > Really? I don't remember to change something inf Block::page > > Since we're adding typehint, you'll need to add some too. Composer is asking you to change `$page`...