@lolautruche I get an error when cleaning cache about this line. In my case $name is not a string but an instance of Symfony\Bundle\FrameworkBundle\Templating\TemplateReference. Am I alone with this problem ?