mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DBALException bin2hex() expects parameter 1 to be string, resource given #5794
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @holantomas on GitHub (Dec 5, 2017).
Originally assigned to: @Ocramius on GitHub.
Hi,
I have entity
FileContentwith few properitiesid,bytes.bytesisblob. When I'm saving file stream from upload to DB it try to throw exeption bellow but it fall on param formating when it try to call bin2hex on stream resource (uploaded file).Trying to throw exception
SQLSTATE[08S01]: Communication link failure: 1153 Got a packet bigger than 'max_allowed_packet' bytes"Don't know what else to report, so you can ask what you need.
And yes I know how to solve first exception.