JMSSerializerBundle icon indicating copy to clipboard operation
JMSSerializerBundle copied to clipboard

Cache directory not writable

Open Srivani247 opened this issue 5 years ago • 4 comments

Hello, I get below error when i am using jmssymfonybundle

The directory "/app/applications/transportation/carrier-integration-platform/var/cache/prod/jms_serializer" is not writable. {"exception":"[object] (InvalidArgumentException(code: 0): The directory \"/app/applications/transportation/carrier-integration-platform/var/cache/prod/jms_serializer\" is not writable. at /app/applications/transportation/carrier-integration-platform/vendor/jms/metadata/src/Cache/FileCache.php:44)"}

Can you please help me in solving this? I saw a similar issue resolved https://github.com/schmittjoh/JMSSerializerBundle/issues/640 here with the code now throws an error for me

Srivani247 avatar Aug 22 '19 21:08 Srivani247

are you using jms/metadata v1.7.0 ?

goetas avatar Aug 23 '19 06:08 goetas

Hello, I am using jms/metadata 2..0

Srivani247 avatar Aug 23 '19 09:08 Srivani247

did you warm up all the metadata? to benefit of this feature, you need to use https://github.com/schmittjoh/JMSSerializerBundle/pull/615 first

goetas avatar Aug 23 '19 09:08 goetas

@see https://github.com/schmittjoh/JMSSerializerBundle/issues/801#issuecomment-648680955

ma0dubois avatar Feb 11 '21 09:02 ma0dubois