2
votes

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

1
did you upgrade the version in your ext_emconf.php in 'typo3' => '6.2-7.6.99', ?manish1706

1 Answers

11
votes

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 :)