Hello

I have a new D 8.3.0 site in English.
I try to add French.

I activate the 4 modules multilingual.

Now I want to add French :

unexpected error

[Fri Apr 14 15:23:41.060413 2017] [:error] [pid 7954] [client 87.67.34.19:54031] Uncaught PHP Exception LogicException: "The database connection is not serializable. This probably means you are serializing an object that has an indirect reference to the database connection. Adjust your code so that is not necessary. Alternatively, look at DependencySerializationTrait as a temporary solution." at /home/mysite/public_html/web/core/lib/Drupal/Core/Database/Connection.php line 1471, referer: https://mysite.be/admin/config/regional/language/add

An idea about this problem ?
"database connection not serializable" ?

Thanks.
Didier

Comments

Didier Misson’s picture

Previous error seem not block us.
When I come back to the site, French is installed.
I succeed to update the translation and site is ok.

By why this message "The database connection is not serializable" ?

Thanks.
Didier