Zgodnie z dokumentacją uwtorzyłem wszystko pokolei
https://sonata-project.org/bundles/admin/2-3/doc/index.html
Dodałem w Admin DataChapterAdmin i przy otwierania "datachapter/list" schodzi mi błąd jak w tytule.
Dodam że Entity klasa istnieje
namespace School\ChildBirthBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * @ORM\Entity * @ORM\Table(name="data_chapter") */ class DataChapter
admin.yml
services: sonata.admin.datachapter: class: School\ChildBirthBundle\Admin\DataChapterAdmin tags: - { name: sonata.admin, manager_type: orm, group: "Content", label: "Chapter" } arguments: - ~ - School\ChildBirthBundle\Entity\DataChapter - ~ calls: - [ setTranslationDomain, [SchoolChildBirthBundle]]
Proszę o pomoc co jest nie tak.