Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
carbsrule opened this issue May 18, 2023 · 1 comment
Open

Comments

@carbsrule
Copy link

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)"} []
@carbsrule
Copy link
Author

A fix is available here: #1101

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant