I'm getting this error. The database connection is not serializable. This probably means you are serializing an object that has an indirect reference to the database connection

I'm using Lightning 2.1.6.
I set up a media upload field on my page content type using reference to content/ reference media. It also uses the media browser to upload images. This field allows a single image upload. I get the error when you try to upload an image. And the image doesnt get added. If i allow multiple upload instead of single the error goes away. Also If I disable the "Interface Translation" module the error goes away and the images can be uploaded.

Comments

leisurman created an issue. See original summary.

cilefen’s picture

Component: ajax system » language system

I am not sure what to do with this one. 'Language system' probably, because you discovered that disabling it removes the warning.

MarkedGoose’s picture

We had the same problem. Are you using file_entity?

anybody’s picture

Status: Active » Closed (duplicate)
johnv’s picture