You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just played around with nette/di. As I tried to configure the search feature, I've got the following error: Fatal error: Uncaught Nette\DI\InvalidConfigurationException: Found section 'search' in configuration, but corresponding extension is missing.
In the docs there is no mention of the need to enable this extension first. But as we had the section about extensions above, I tried to add the extension search to the DIC.
The next error was: Fatal error: Uncaught Nette\DI\InvalidConfigurationException: Found section 'extensions' in configuration, but corresponding extension is missing
So I had to look up the source code of the Compiler to find out how to enable the ExtensionsExtension to extend the DIC with the SearchExtension. And nothing of this is explained in the docs.
So I'd suggest, that there should be at least the hint to add the line
if you need to configure extensions in the configuration's extensions section.
Also, it should be mentioned in the documentation for the configuration section search that the extension has to be enabled first.
The text was updated successfully, but these errors were encountered:
I just played around with
nette/di
. As I tried to configure the search feature, I've got the following error:Fatal error: Uncaught Nette\DI\InvalidConfigurationException: Found section 'search' in configuration, but corresponding extension is missing.
In the docs there is no mention of the need to enable this extension first. But as we had the section about extensions above, I tried to add the extension
search
to the DIC.The next error was:
Fatal error: Uncaught Nette\DI\InvalidConfigurationException: Found section 'extensions' in configuration, but corresponding extension is missing
So I had to look up the source code of the Compiler to find out how to enable the
ExtensionsExtension
to extend the DIC with theSearchExtension
. And nothing of this is explained in the docs.So I'd suggest, that there should be at least the hint to add the line
if you need to configure extensions in the configuration's extensions section.
Also, it should be mentioned in the documentation for the configuration section
search
that the extension has to be enabled first.The text was updated successfully, but these errors were encountered: