When I place an order and try to change my payment method, I have this error :

Type php
Date Monday, 21 January, 2019 - 09:44
User administrateur
Location https://www.domaine.com/fr/checkout/45/order_information?_wrapper_format...
Referrer https://www.domaine.com/fr/checkout/45/order_information
Message 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 1481 of /var/www/www-s1biose-com/web/core/lib/Drupal/Core/Database/Connection.php).
Severity Error

Comments

zenimagine created an issue. See original summary.

bojanz’s picture

Are you on Commerce 2.11 or 2.x-dev?
Which patches do you have applied? Profile reuse, perhaps?

zenimagine’s picture

@bojanz I am on the dev version and I found the problem. When I uninstall the "Webform Submission Log" sub-module it works.

bojanz’s picture

Title: Can not add a new payment method » Can not add a new payment method when Webform Submission Log is enabled
Status: Active » Fixed

Good to know.

You'll want to open a bug report in their issue queue.

zenimagine’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.