php – The current field `category` is not linked to an admin. Please create one for the target model: “ when using Form Types other than ModelType, Symfony

I’m trying to create/expand upon a basic app following the Symfony Sonata Admin Bundle documentation. There are BlogPost, Category, and Author entities and their respective admins. BlogPost has a ManyToOne relationship to both Category and Author. I notice from the start that I had trouble applying different Form Types to ‘Category’ but thought maybe I … Read more