doctrine-dbal
doctrine-dbal copied to clipboard
Using `blob` as a column type causes `ProfilerLogger` to fail
Error message
PDO::quote(): Argument #1 ($string) must be of type string, resource given in ProfilerLogger.php#L61
Trace screenshot

Problematic column
is annotated as follows:
/**
* @ORM\Column(type="blob")
* @var resource
*/
private $stream;
Workaround
is to disable tracy panel:
nettrine.dbal:
debug:
panel: false # %debugMode% # temporary disabled as otherwise ProfilerLogger complains on blob types