gantry5 icon indicating copy to clipboard operation
gantry5 copied to clipboard

Class "Twig\Environment" not found

Open Peeripapo opened this issue 2 years ago • 1 comments

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 ?

Peeripapo avatar Dec 04 '23 19:12 Peeripapo

Joomla 3.10 is not compatible with PHP 8.2

pablop76 avatar Dec 04 '23 22:12 pablop76