Felix
Felix

Reputation: 5619

TYPO3 Frontend User Repository

I've got some problems upgrading my extension from TYPO3 6.2 to 7.6.X

got this code

/**
 * Protected Variable FrontendUserRepository wird mit NULL initialisiert.
 *
 * @var \Typo3\CMS\Extbase\Domain\Repository\FrontendUserRepository
 * @inject
 */
protected $FrontendUserRepository = NULL;

and got this error: enter image description here

Upvotes: 2

Views: 2025

Answers (1)

Daniel
Daniel

Reputation: 7016

You have to spell the namespace correctly. In this case TYPO3 has to be in upper case:

\TYPO3\CMS\Extbase\Domain\Repository\FrontendUserRepository

The class should be loaded. No further actions required but flushing the system cache.

Btw: "TYPO3" is always the correct spelling :)

Upvotes: 11

Related Questions