domis86 / TranslatorBundle

Easily edit Symfony2 translations while browsing your site
Do What The F*ck You Want To Public License
6 stars 1 forks source link

[Symfony 3] Using CacheConfig throws exception #7

Closed chandon closed 5 years ago

chandon commented 5 years ago

Starting Symfony 3, CacheConfig doesn't have a __toString() function.

Until Symfony 2, CacheConfig::__toString returns the Filename Starting Symfony 3, trying to convert CacheConfig to string throws an Exception

domis86 commented 5 years ago

Good catch. Btw: which version of Symfony are you using? TranslatorBundle should work correctly on Symfony 2. - in the 3. version there can be probably more bugs. If people are still want to use this bundle for Symfony 3+ then maybe i can prepare some upgrade :smiley:

domis86 commented 5 years ago

Included in release: https://github.com/domis86/TranslatorBundle/releases/tag/1.0.1