femanager icon indicating copy to clipboard operation
femanager copied to clipboard

TypeError in SaveToAnyTableFinisher

Open msollmann opened this issue 5 months ago • 0 comments

When I click on the confirmation link in the email, the registration is confirmed correctly, but the following error message appears:

In2code\Femanager\Finisher\SaveToAnyTableFinisher::__construct(): Argument #1 ($typoScriptService) must be of type TYPO3\CMS\Core\TypoScript\TypoScriptService, In2code\Femanager\Domain\Model\User given, called in /var/www/html/vendor/typo3/cms-core/Classes/Utility/GeneralUtility.php on line 2869

I can fix this error by removing the following function from the SaveToAnyTableFinisher:

public function __construct(TypoScriptService $typoScriptService)
{
        $this->typoScriptService = $typoScriptService;
}

This function is included in the current EAP version, but not in the official version 8.3.0.

Best regards Michael

msollmann avatar Jul 10 '25 09:07 msollmann