Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class "Twig\Environment" not found #3216

Closed
Peeripapo opened this issue Dec 4, 2023 · 1 comment
Closed

Class "Twig\Environment" not found #3216

Peeripapo opened this issue Dec 4, 2023 · 1 comment

Comments

@Peeripapo
Copy link

Hi, I have website with Joomla 3.10.11 and Gantry 5.5.17. We're on PHP 8.2

Suddenly the site is offline and we get this warning on the frontend.

 Error
Class "Twig\Environment" not found

Stack frames (10)
9
Error
…/src/classes/Gantry/Component/Theme/AbstractTheme.php130
8
Gantry\Component\Theme\AbstractTheme renderer
…/src/classes/Gantry/Component/Theme/AbstractTheme.php176
7
Gantry\Component\Theme\AbstractTheme render
/home/jfroriz/public_html/templates/it_insightfx/index.php28
6
require
/home/jfroriz/public_html/libraries/src/Document/HtmlDocument.php678
5
Joomla\CMS\Document\HtmlDocument _loadTemplate
/home/jfroriz/public_html/libraries/src/Document/HtmlDocument.php740
4
Joomla\CMS\Document\HtmlDocument _fetchTemplate
/home/jfroriz/public_html/libraries/src/Document/HtmlDocument.php555
3
Joomla\CMS\Document\HtmlDocument parse
/home/jfroriz/public_html/libraries/src/Application/CMSApplication.php1098
2
Joomla\CMS\Application\CMSApplication render
/home/jfroriz/public_html/libraries/src/Application/SiteApplication.php778
1
Joomla\CMS\Application\SiteApplication render
/home/jfroriz/public_html/libraries/src/Application/CMSApplication.php231
0
Joomla\CMS\Application\CMSApplication execute
/home/jfroriz/public_html/index.php52

`

Any suggestions ?
@pablop76
Copy link

pablop76 commented Dec 4, 2023

Joomla 3.10 is not compatible with PHP 8.2

@hexplor hexplor closed this as not planned Won't fix, can't repro, duplicate, stale Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants