0

我的 TYPO3 网站有问题。昨天网站运行没有问题,但今天我有这个错误:

Core: Exception handler (WEB): Uncaught TYPO3 Exception: Class 'TYPO3\CMS\Core\Core\Environment' not found | Error thrown in file /mnt/web524/e2/72/510353872/htdocs/typo3_grau_01/typo3conf/ext/ws_scss/Classes/Hooks/RenderPreProcessorHook.php in line 76. Requested URL: http://flughaefen.eu/index.php?id=1

有人能帮我吗 ?

RenderPreProcessorHook.php in line 76 
 $sitePath = \TYPO3\CMS\Core\Core\Environment::getPublicPath() . '/';
4

1 回答 1

0

TYPO3 9 中添加了 Environment 类。我看到您使用的是 TYPO3 8.7。所以错误是正确的。您可能更新了扩展 ws_scss。看起来 1.1.14 版是与 TYPO3 8.7 兼容的最后一个版本,因此降级到该版本应该可以解决问题(或更新到 TYPO3 9.5 或 10.4)。

在此处查看 ws_scss 的更多版本历史记录和兼容性:https ://extensions.typo3.org/extension/ws_scss/

于 2020-06-30T11:25:31.190 回答