What does this error from \"Doctrine2 & Symfony2\" mean?
Could not convert database value \"\" to Doctrine Type array
You can add new Type like that:
use Doctrine\DBAL\Platforms\AbstractPlatform;
use Doctrine\DBAL\Types\ArrayType;
class HandicappedArrayType extends ArrayType
{
public function convertToPHPValue($value, AbstractPlatform $platform)
{
if ($value === null || $value === '') {
return null;
}
return parent::convertToPHPValue($value, $platform);
}