MewesK / TwigExcelBundle

PhpExcel integration for Twig/Symfony
38 stars 22 forks source link

FatalErrorException in XlsBlockTokenParser.php #32

Open mikaser opened 7 years ago

mikaser commented 7 years ago

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

hachemsoft commented 6 years ago

you have to downgrade your twig to 1.x

artursvonda commented 6 years ago

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 :)

sneakyx commented 3 years ago

Or use Erelke TwigSpreadsheetBundle