#91239Class does not exist. Reflection failed.
Description
The error comes up on a non composer installation where the TYPO3 version is 10.4.1.
The following code creates a reflection failed error in the frontend:
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'Timelog',
'Taskpanel',
[
'Task' => 'list,createBatch,error',
'Project' => 'list'
],
[
'Task' => 'list,createBatch,error',
'Project' => 'list'
]
);
The following code works:
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'Buepro.Timelog',
'Taskpanel',
[
'Task' => 'list,createBatch,error',
'Project' => 'list'
],
[
'Task' => 'list,createBatch,error',
'Project' => 'list'
]
);
The exact error code is:
(1/2) #1278450972 TYPO3\CMS\Extbase\Reflection\Exception\UnknownClassException
Class Timelog\Controller\TaskController does not exist. Reflection failed.Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
History 2
-
Alexander Schnitzler commented and changed status
NewRejected 04/29/20, 21:12 -
Daniel Brauer commented 11/08/22, 00:31
just made an update from 10 to 11, it works like this:
V10:
'Product', ['Product' => 'list, show'],V11:
'Product', [\WAC\WaconProducts\Controller\ProductController::class => 'list, show'],
The syntax in use is not correct. Please have a look at the following links:
Example:
https://github.com/TYPO3/TYPO3.CMS/blob/master/typo3/sysext/felogin/ext_localconf.php#L31