繁体   English   中英

TYPO3 错误:未捕获 TYPO3 异常:Class 'TYPO3\CMS\Core\Core\Environment?

[英]TYPO3 Error: Uncaught TYPO3 Exception: Class 'TYPO3\CMS\Core\Core\Environment?

我的 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() . '/';

在 TYPO3 9 中添加了环境 class。我看到您使用的是 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/

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM