TYPO3 Exception 1187176358¶
Below, the TYPO3 community may have provided additional information or solutions for this exception. However, these may or may not apply to your particular case. If you can provide more information, you should come back here and add your experience and solution steps to this issue once you have resolved it.
General TYPO3 troubleshooting tips can be found in the section “Troubleshooting” of the menu, and live support is available in the TYPO3 Slack channel #typo3-cms.
To add your experience, click “Edit on GitHub” above and follow the “Edit on GitHub” workflow. Also check out our tip on Coding Style and reST.
#1187176358: The controller name must be a valid string, integer given.¶
TYPO3\CMS\Extbase\Mvc\Exception\InvalidControllerNameException thrown in
Possible error sources¶
configurePlugin: Actions declared incorrectly¶
This error happens when the first array does have an integer as key instead of the plugin name:
The correct solution is this:
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin( 'FooExt', 'PluginName', [\Foo\Ext\Controller\PluginController::class => 'show'], [\Foo\Ext\Controller\PluginController::class => 'show'] // non-cacheable actions );