Skip to content

LogicException: Settings can not be serialized. #10

@scottsawyer

Description

@scottsawyer

LogicException: Settings can not be serialized. This probably means you are serializing an object that has an indirect reference to the Settings object. Adjust your code so that is not necessary. in Drupal\Core\Site\Settings->__sleep() (line 90 of /app/web/core/lib/Drupal/Core/Site/Settings.php).

Solution:
Add dependencySerializationtrait to the checkout event subscriber.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions