How to use FilesystemAdapter for the cache? #570
-
I use Version 4.1.0 and try to use the FilesystemAdapter.
But this only results in a PHP Warning: Failed to save key "soap-engine-8840fa8e524c449ca351a08172a75c7c" of type Soap\Engine\SimpleEngine. in /home/site/wwwroot/vendor/symfony/cache/CacheItem.php on line 161 What am I doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Thanks for reporting @jangaehler. I'm not sure what is going wrong, but might have seen something similar in the past. This package is currently caching the whole engine, but it might make sense to only cache the driver to avoid this kind of issues (since we are in full control of the cache from our end.) |
Beta Was this translation helpful? Give feedback.
Thanks. We have now been able to solve this by explicitly using the NativeHttpClient. Previously, the Curl client was used and there was always a Clojure included.
$psr18Client = new Psr18Client(new NativeHttpClient(['base_uri' => $wsdlUrl]));