Project

General

Profile

Actions

Bug #91239

closed

Class does not exist. Reflection failed.

Added by Roman Büchler over 4 years ago. Updated about 2 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2020-04-29
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.
Actions

Also available in: Atom PDF