Skip to content
This repository has been archived by the owner on May 19, 2024. It is now read-only.

FatalErrorException in XlsBlockTokenParser.php #32

Open
mikaser opened this issue Sep 12, 2017 · 3 comments
Open

FatalErrorException in XlsBlockTokenParser.php #32

mikaser opened this issue Sep 12, 2017 · 3 comments

Comments

@mikaser
Copy link

mikaser commented Sep 12, 2017

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
Copy link

you have to downgrade your twig to 1.x

@artursvonda
Copy link

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
Copy link

sneakyx commented Jul 28, 2021

Or use Erelke TwigSpreadsheetBundle

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants