Closed eerison closed 1 year ago
I tried to add this mapping https://symfony.com/doc/current/reference/configuration/doctrine.html#configuration-overview
doctrine:
orm:
auto_mapping: true
mappings:
SonataPageBundle:
type: xml
dir: 'Resources/config/doctrine'
But I'm getting the same issue
Ok it's an issue in doctrine! it's happening for all entities not just page bundle :)
I setup sonata page bundle 4.0 from scratch, But for some reason doctrine doesn't recognized the entities
for example
commands to check the diff
bin/console doctrine:migrations:up-to-date
bin/console doctrine:schema:update --dump-sql
output
Database
error when I open the page