1 min read

Symfony Could not convert database value “” to Doctrine Type array

This error appear because your type not a “Array”   Change type to “array” /** * @var string * * @ORM\Column(name="informations", type="array") * */ private $informations; Then update your database…

This error appear because your type not a “Array”

 

Change type to “array”

    /**
     * @var string
     *
     * @ORM\Column(name="informations", type="array")
     * */
    private $informations;

Then update your database with Command Symfony

Symfony 3 Nov 20, 2018