Bukashk0zzz / LiipImagineSerializationBundle

Provides integration between LiipImagineBundle and JMSSerializerBundle
MIT License
25 stars 7 forks source link

PsrCachedReader instead of CachedReader #23

Closed NOaMTL closed 3 years ago

NOaMTL commented 3 years ago

Hello, I am using Symfony 5.3.7 / Liip 2.6.1 and vich 1.18.0 I have this error.

Bukashk0zzz\LiipImagineSerializationBundle\EventListener\JmsSerializeListenerAbstract::__construct(): Argument #2 ($annotationReader) must be of type Doctrine\Common\Annotations\CachedReader, Doctrine\Common\Annotations\PsrCachedReader given, called in C:\ALTIS\symfony\tcb\var\cache\dev\ContainerO8Em8hz\getBukashk0zzzLiipImaginePreSerialization_ListenerService.php on line 23 (I am using th latest version of this package and i tried to clear cache)

jsor commented 3 years ago

I've got the same error. Filed #24 to fix this.

Bukashk0zzz commented 3 years ago

Fixed in https://github.com/Bukashk0zzz/LiipImagineSerializationBundle/releases/tag/v3.1.1