Answer the question
In order to leave comments, you need to log in
Symfony 4 Unable to transform value for property path "furnace": Expected a Boolean. what is this error how to fix?
Good afternoon, forum, the
torment with Symfony continues :-( Created CRUD, all boolean fields (except for the index), in the mysql
database
(Data_Type: tinyint [0|1]).
, even before the opening of the form does not reach
how to fix please tell me?
Answer the question
In order to leave comments, you need to log in
Found an error!
strange, did everything through the entity console too.
but for some reason this is generated:
public function getFurnace(): ?string
{
return $this->furnace;
}
public function getFurnace(): ?bool
{
return $this->furnace;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question