Solve this error: Class Sonata\PageBundle\Entity\BlockManager contains 1 abstract method

Do you get this error Class Sonata\PageBundle\Entity\BlockManager contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Sonata\CoreBundle\Model\PageableManagerInterface::getPager)? In this tutorial I will explain to you how you can solve this error with two steps.

If you want to solve the error:

  • Open you command line from your Symfony project.
  • Enter¬†php composer.phar update sonata-project/page-bundle
  • Refresh your page.

In this way you will solve your error and you will be able to use Sonata Project!









Leave a Comment