Problem/Motivation
The following error is triggered when adding a filter to a view:
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. in Drupal\Core\Database\Connection->__sleep() (line 1309 of /[..]/web/core/lib/Drupal/Core/Database/Connection.php).
Proposed resolution
Add DependencySerializationTrait to Drupal\symfony_translation\SymfonyTranslation.
Issue fork symfony_translation-3542023
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
dieterholvoet commentedComment #5
dieterholvoet commented