我的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() . '/';发布于 2020-06-30 19:25:31
环境类是在TYPO3 9中添加的。我知道您使用的是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/
https://stackoverflow.com/questions/62654906
复制相似问题