yokai-php / sonata-workflow

Integrate Symfony workflow component in Sonata Admin
MIT License
22 stars 11 forks source link

"getStatus()", "status()", "isStatus()", "hasStatus()", "__get()" exist #10

Closed magestein closed 5 years ago

magestein commented 5 years ago

Hi, Im trying the step by step from https://sonata-project.org/bundles/admin/master/doc/cookbook/recipe_workflow_integration.html

I get the following error Neither the property "status" nor one of the methods "getStatus()", "status()", "isStatus()", "hasStatus()", "__get()" exist and have public access in class "App\Entity\BlogPost".

Symfony version: 4.3.3

A little help please?

yann-eugone commented 5 years ago

Hi. Do your BlogPost entity has an accessible status property?

magestein commented 5 years ago

omg Im so sorry, I was using state in argument and not status.. 👍