Closed Misco closed 5 years ago
Sorry, what do you mean with "i use this extension in my own extension in src (not vendor)"? You must install this bundle with composer. Then you need to do the steps written in the readme.
sorry to confuse you. your extension is installed in vendor via contao manager. my extension is in src. I try to find out why the Exportclass can not be found. my idea was its because of changes in Contao 4.6 or because my extension is in src,
thank you
I removed the custom error to get more informations: HeimrichHannot\ContaoExporterBundle\Action\ExportAction::export() must be an instance of HeimrichHannot\ContaoExporterBundle\Model\ExporterModel, null given, called in /www/htdocs/w01192bf/project/vendor/heimrichhannot/contao-exporter-bundle/src/Action/BackendExportAction.php on line 76
Any suggestion? Thanks
@Misco I found a bug related to changes in class caching in symfony 4. I fixed it in version 0.7. Hope this will also fix your problem. Please report back!
@koertho there is an error while updating:
Loading composer repositories with package information Installing dependencies from lock file Package operations: 2 installs, 16 updates, 0 removals
Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication
In DefinitionErrorExceptionPass.php line 54:
Cannot autowire service "huh.utils.container": argument "$scopeMatcher" of
method "HeimrichHannot\UtilsBundle\Container\ContainerUtil::__construct()"
references class "Contao\CoreBundle\Routing\ScopeMatcher" but no such servi
ce exists. You should maybe alias this class to the existing "contao.routin
g.scope_matcher" service.
Script Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication handling the post-install-cmd event terminated with an exception
In ScriptHandler.php line 87:
An error occurred while executing the "contao:install-web-dir" command:
In DefinitionErrorExceptionPass.php line 54:
Cannot autowire service "huh.utils.container": argument "$scopeMatcher" o
f
method "HeimrichHannot\UtilsBundle\Container\ContainerUtil::__construct()
"
references class "Contao\CoreBundle\Routing\ScopeMatcher" but no such ser
vi
ce exists. You should maybe alias this class to the existing "contao.rout
in
g.scope_matcher" service.
install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [
Thanks for your effort
@Misco That is an problem with the service container configuration of Contao 4.6. 4.7 does fix this problem.
ah ok, thank you i will try
It´s working now. Thanks
when click export error shows up: Exporter class for exporter configuration 2 not found
in the configuration i can select only one Exportclass: ExelExporter_05d3ef3 witch path should this file be? i use this extension in my own extension in src (not vendor) its a contao 4.6.14
thank you for this great extension