-
Notifications
You must be signed in to change notification settings - Fork 0
Description
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 1920 of /app/web/core/lib/Drupal/Core/Database/Connection.php).
This seems to happen when a user enters a new address and the rate request refreshes the order form. This may be caused by a change in the order form refresh logic to refresh the entire form vs just the pane, but I am not entirely certain. But the #after_build callback is empty, so I am not sure why it's needed or why it fatals. It's probably safe just to remove it.