我正在從 TYPO3 8.7 升級到 TYPO3 9.5 并收到以下錯誤。我在我的站點擴展中沒有看到使用了該控制器并且不知道該怎么做的任何地方。此錯誤使我無法使用任何typo3cms命令。在 Slack 頻道和其他地方尋找答案,但尚未找到答案并被卡住。
- 通過 TYPO3 安裝工具 GUI 洗掉所有快取
vendor手動洗掉和重建typo3temp目錄。
[ Symfony\Component\Console\Exception\RuntimeException ]
Command controller class "TYPO3\CMS\Lang\Command\LanguageCommandController" does not exist.
Exception code: 1520200175
Exception trace:
#0 ()
vendor/helhum/typo3-console/Classes/Console/Mvc/Cli/CommandConfiguration.php:102
#1 Helhum\Typo3Console\Mvc\Cli\CommandConfiguration::extractCommandDefinitionsFromControllers()
vendor/helhum/typo3-console/Classes/Console/Mvc/Cli/CommandConfiguration.php:94
#2 Helhum\Typo3Console\Mvc\Cli\CommandConfiguration::unifyCommandConfiguration()
vendor/helhum/typo3-console/Classes/Console/Mvc/Cli/CommandConfiguration.php:149
#3 Helhum\Typo3Console\Mvc\Cli\CommandConfiguration->addCommandControllerCommands()
vendor/helhum/typo3-console/Classes/Console/Mvc/Cli/CommandCollection.php:141
#4 Helhum\Typo3Console\Mvc\Cli\CommandCollection->addCommandControllerCommands()
vendor/helhum/typo3-console/Classes/Console/Core/Kernel.php:138
#5 Helhum\Typo3Console\Core\Kernel->handle()
vendor/helhum/typo3-console/Scripts/typo3-console.php:30
#6 {closure}()
vendor/helhum/typo3-console/Scripts/typo3-console.php:32
#7 require()
vendor/helhum/typo3-console/typo3cms:3
uj5u.com熱心網友回復:
請記住,已洗掉的軟體包也在您的 sysext 檔案夾中。
在您的情況下, EXT:lang 已被洗掉。
就我而言,它一直是typo3/cms在切換到 TYPO3 的子樹拆分安裝時留下的。
通過洗掉您的-folder手動清理您的web-dir(如果使用)將有所幫助。root-dirtypo3/
轉載請註明出處,本文鏈接:https://www.uj5u.com/gongcheng/527636.html
