XF 2.2 Error: Class "Less_Tree_Anonymous" not found

Dermot

Active member
Currently moving to a new host and have got most things working fine now on new host bar this issue preventing CSS in EXTRA.less loading properly.

Is it a cache issue?

Running PHP 8 native

Error message:
  • Error: Class "Less_Tree_Anonymous" not found
  • src/vendor/oyejorge/less.php/lib/Less/Parser.php:2704
Stacktrace:

Code:
#0 src/vendor/oyejorge/less.php/lib/Less/Parser.php(2335): Less_Parser->NewObj1('Less_Tree_Anony...', '(-webkit-backdr...')
#1 src/vendor/oyejorge/less.php/lib/Less/Parser.php(858): Less_Parser->parseDirective()
#2 src/vendor/oyejorge/less.php/lib/Less/Parser.php(1009): Less_Parser->MatchFuncs(Array)
#3 src/vendor/oyejorge/less.php/lib/Less/Parser.php(1938): Less_Parser->parsePrimary()
#4 src/vendor/oyejorge/less.php/lib/Less/Parser.php(1723): Less_Parser->parseBlock()
#5 src/vendor/oyejorge/less.php/lib/Less/Parser.php(858): Less_Parser->parseMixinDefinition()
#6 src/vendor/oyejorge/less.php/lib/Less/Parser.php(1009): Less_Parser->MatchFuncs(Array)
#7 src/vendor/oyejorge/less.php/lib/Less/Parser.php(674): Less_Parser->parsePrimary()
#8 src/vendor/oyejorge/less.php/lib/Less/Parser.php(621): Less_Parser->GetRules(NULL)
#9 src/vendor/oyejorge/less.php/lib/Less/Parser.php(449): Less_Parser->_parse()
#10 src/XF/CssRenderer.php(414): Less_Parser->parse('// Note that th...')
#11 src/XF/CssRenderer.php(352): XF\CssRenderer->renderToCss('email:core.less', '// Note that th...')
#12 src/XF/CssRenderer.php(260): XF\CssRenderer->renderTemplate('email:core.less', NULL)
#13 src/addons/ThemeHouse/UIX/XF/CssRenderer.php(40): XF\CssRenderer->renderTemplates(Array, Array, Array)
#14 src/XF/CssRenderer.php(118): ThemeHouse\UIX\XF\CssRenderer->renderTemplates(Array, Array, Array)
#15 src/XF/Mail/Styler.php(72): XF\CssRenderer->render(Array, false)
#16 src/XF/Mail/Styler.php(59): XF\Mail\Styler->renderCoreCss()
#17 src/XF/Mail/Styler.php(33): XF\Mail\Styler->getEmailCss(Object(XF\Language))
#18 src/XF/Mail/Mailer.php(187): XF\Mail\Styler->styleHtml('<!DOCTYPE html>...', true, Object(XF\Language))
#19 src/XF/Mail/Mail.php(337): XF\Mail\Mailer->renderMailTemplate('activity_summar...', Array, Object(XF\Language), Object(ThemeHouse\UIX\XF\Entity\User))
#20 src/XF/Mail/Mail.php(405): XF\Mail\Mail->renderTemplate()
#21 src/XF/Mail/Mail.php(419): XF\Mail\Mail->getSendableMessage()
#22 src/XF/Job/ActivitySummaryEmail.php(115): XF\Mail\Mail->send()
#23 src/XF/Job/ActivitySummaryEmail.php(68): XF\Job\ActivitySummaryEmail->generateAndSendEmail(Object(ThemeHouse\UIX\XF\Entity\User))
#24 src/XF/Job/Manager.php(260): XF\Job\ActivitySummaryEmail->run(8)
#25 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 8)
#26 src/XF/Job/Manager.php(86): XF\Job\Manager->runJobEntry(Array, 8)
#27 job.php(43): XF\Job\Manager->runQueue(false, 8)
#28 {main}
 
Top