@mattab opened this Issue on October 27th 2020 Member

Got this error reported by email:

Illegal length modifier specified 'f' in s[np]printf call in /home/track/vendor/twig/twig/src/Cache/FilesystemCache.php 65 using PHP 7.3.21

in Matomo 3.13.6

@tsteur commented on October 27th 2020 Member

@mattab I'll close this for now as we upgraded to a new major twig version in Matomo 4 so this might be fixed. Also we can't fix this ourselves anyway and be best to otherwise create an issue in the twig repository if this happens again in Matomo 4. The sprintf calls look actually good/standard to me.

@mattab commented on October 27th 2020 Member

fyi got another report from a different user Illegal length modifier specified 'f' in s[np]printf call in /home/public_html/vendor/twig/twig/src/Cache/FilesystemCache.php 65 using PHP 7.2.33

@tsteur commented on October 27th 2020 Member
@Findus23 commented on October 27th 2020 Member

I talked a bit about this issue here:
https://forum.matomo.org/t/matomo-not-working-after-full-removal-reinstall-2020/37837/7

It might be some weird PHP bug where file_put_contents or rename internally call printf.

This Issue was closed on October 27th 2020
Powered by GitHub Issue Mirror