femanager icon indicating copy to clipboard operation
femanager copied to clipboard

Hint to possibly missing code lines in IsRequiredFieldViewHelper.php

Open oak-innovation opened this issue 2 years ago • 0 comments

Here is a hint:

Version 7.0.1 throwed:

Call to a member function getConfiguration() on null
in /var/www/rcc/rcc.hslu.ch/typo3conf/ext/femanager/Classes/ViewHelpers/Validation/IsRequiredFieldViewHelper.php line 38

and so I added:

    /**
     * @var \TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface
     */
	public function injectConfigurationManager(\TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface $configurationManager) {
		$this->configurationManager = $configurationManager;
	}

I have a TYPO3 11.5.19 that is not in composer mode and that was updated from the latest version 10. This might be relevant.

HTH, thank you for femanager.

oak-innovation avatar Nov 21 '22 09:11 oak-innovation