Bug #244
offen[Bugsink] TYPO3\CMS\Extbase\Mvc\Exception\InvalidControllerNameException: The controller "Waste'" is not allowed by plugin "Wastedisposal". Please check for TY…
0%
Beschreibung
Bugsink: https://bugsink.cytrus.de/issues/issue/ecfb9cc6-732b-489b-9486-eaf3bbed144e/event/last/
Typ: NEW issue
Projekt: www-rietberg-de
Bugsink Alert
TYPO3\CMS\Extbase\Mvc\Exception\InvalidControllerNameException: The controller "Waste'" is not allowed by plugin "Wastedisposal". Please check for TY…
Automatisch erstellt durch n8n
KI-Analyse:
=== ROOT CAUSE ===
The Extbase plugin "Wastedisposal" does not have the controller "Waste" registered. TYPO3 builds the allowed controller list via ExtensionUtility::configurePlugin() in ext_localconf.php. Since the controller name is absent from that registration, the framework throws InvalidControllerNameException when trying to resolve the request.
=== FIX ===
Add (or fix) the configurePlugin() call in ext_localconf.php so the controller is explicitly allowed. Exact example:
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'Vendor\\Wastedisposal', // adjust to your full vendor prefix
'Wastedisposal', // plugin keyword as registered
['Waste' => 'index'] // map controller base name to default action
);
Ensure the controller class exists at Vendor\\Wastedisposal\\Controller\\WasteController (or adjust the namespace accordingly). If you use ext_tables.php or ext_localconf.php from a different location, move the call there and clear all caches.
=== AFFECTED EXTENSION ===
wastedisposal
=== CONFIDENCE ===
95%
Nichts anzuzeigen