Skip to content

Cannot serialize Symfony\Component\Cache\Adapter\FilesystemAdapter #1102

Open
@carbsrule

Description

@carbsrule

Summary
When saving config for certain integrations via Oro admin, an exception is thrown which ends up displaying an error to the admin user

Steps to reproduce
Attempt to save the config for an integration

Actual Result
Config is saved, but an exception is logged, but the admin user sees two error messages:

  1. Error: Unexpected content format.
  2. There was an error performing the requested operation. Please try again or contact us for assistance.

Expected Result
No exception is logged, and admin user sees the success message: Integration saved

Details about your environment

  • OroPlatform version: 5.1.0
  • PHP version: 8.2.5
  • PostgreSQL version: 15.1 (Debian 15.1-1.pgdg110+1)

Additional information

request.CRITICAL: Uncaught PHP Exception BadMethodCallException: "Cannot serialize Symfony\Component\Cache\Adapter\FilesystemAdapter" at /oro/vendor/symfony/cache/Traits/FilesystemCommonTrait.php line 179 {"exception":"[object] (BadMethodCallException(code: 0): Cannot serialize Symfony\\Component\\Cache\\Adapter\\FilesystemAdapter at /oro/vendor/symfony/cache/Traits/FilesystemCommonTrait.php:179)\n[previous exception] [object] (BadMethodCallException(code: 0): Cannot serialize Symfony\\Component\\Cache\\Adapter\\FilesystemAdapter at /oro/vendor/symfony/cache/Traits/FilesystemCommonTrait.php:179)"} []

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