Matthimatiker / OpcacheBundle

Displays the PHP OPcache status in the Symfony profiler toolbar.
MIT License
22 stars 2 forks source link

Profiler template does not exist error in Symfony 4 + Flex #22

Closed roverwolf closed 6 years ago

roverwolf commented 6 years ago

After upgrading an application from Symfony 3.4 to Symfony 4 with Symfony Flex we are getting the error The profiler template "MatthimatikerOpcacheBundle:DataCollector:ByteCodeCache.html.twig" for data collector "matthimatiker_opcache.byte_code_cache" does not exist. when trying to get at the Symfony profiler.

roverwolf commented 6 years ago

Doing some digging it seems that some of the template references use an older syntax (SomeBundle:Directory:File) that no longer works by default.