-
-
Notifications
You must be signed in to change notification settings - Fork 249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Cannot instantiate interface ConfigurationManagerInterface #3622
Comments
The same error appears also in:
|
We can not reproduce the issue. @lfehr, @chroenmeister, @brandung-sjorek Most probably, there is some extension which implements this interface and therefore the DI can not resolve the class. |
@dkd-kaehm We'll (@chroenmeister and me) look into it, and give you Feedback within the next 2 weeks (our sprint). Please keep the issue open in the case we find the root-cause in the TYPO3 Solr-Extension itself. Thanks for your reply … |
ext-solr/Classes/System/UserFunctions/FlexFormUserFunctions.php Lines 206 to 216 in 3fc0a33
We are trying to make an instance of an $configurationManager = GeneralUtility::makeInstance(\ApacheSolrForTypo3\Solr\System\Configuration\ConfigurationManager::class);
$configurationManager = GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\Configuration\ConfigurationManager::class);
$configurationManager = GeneralUtility::makeInstance(\TYPO3\CMS\Core\Configuration\ConfigurationManager::class); And Usually the /**
* @var \TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface
*/
protected $configurationManager;
/**
* Injects the Configuration Manager and loads the settings
*
* @param \TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface $configurationManager An instance of the Configuration Manager
*/
public function injectConfigurationManager(
\TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface $configurationManager
) {
$this->configurationManager = $configurationManager;
} |
|
@rr-it @dkd-kaehm The extbase extension's ConfigurationManager must be injected via the |
@rr-it @brandung-sjorek Please kick the pull request for this issue. |
@rr-it Forgot to say: Thanks for your investigation … @dkd-kaehm Which pull-request? Maybe I get something wrong - do you want us to create a PR? No problem, but the colleague will need some time (the 14 days mentioned above) |
Some points on the reproducibility of this bug: If Solr Assumption: In case an object matching |
Especially on TYPO3 10 the userfunction to load the flex form configuration produced an error. Fixes: TYPO3-Solr#3622
Especially on TYPO3 10 the userfunction to load the flex form configuration produced an error. Fixes: TYPO3-Solr#3622 Ports: TYPO3-Solr#3626
Especially on TYPO3 10 the userfunction to load the flex form configuration produced an error. Fixes: #3622
Seems to be fixed for TYPO3 10 and 11 in #3626 and #3640. @chroenmeister Please check latest state of release-11.2.x branch and close this issue if it is fixed. |
@dkd-kaehm Yes the issue is solved in the latest release-11.2.x branch! Thank you! |
Describe the bug
Using the latest 11.2.2 release getting this exception while opening plugin instance:
Cannot instantiate interface TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface
To Reproduce
Screenshots
Used versions (please complete the following information):
The text was updated successfully, but these errors were encountered: