TwigExcelBundle icon indicating copy to clipboard operation
TwigExcelBundle copied to clipboard

FatalErrorException in XlsBlockTokenParser.php

Open mikaser opened this issue 7 years ago • 3 comments

Hi When I'm enable the Bundle in the AppKernel, I got this error:

FatalErrorException in XlsBlockTokenParser.php line 65: Compile Error: Class MewesK\TwigExcelBundle\Twig\TokenParser\XlsBlockTokenParser may not inherit from final class (Twig_TokenParser_Block)

I ran composer update and cleared the cache. Symfony: 3.2.13

Thanks for help! Michael

mikaser avatar Sep 12 '17 13:09 mikaser

you have to downgrade your twig to 1.x

hachemsoft avatar Oct 02 '17 22:10 hachemsoft

Came across same issue. The bundle should define the supported versions of libraries it uses. Also, would be nice to upgrade support for Twig 2.x :)

artursvonda avatar Mar 14 '18 16:03 artursvonda

Or use Erelke TwigSpreadsheetBundle

sneakyx avatar Jul 28 '21 10:07 sneakyx