netzmacht / contao-workflow

Workflow integration for Contao CMS
https://netzmacht.github.io/contao-workflow/
10 stars 4 forks source link

Error nach installation von 2.2.0 #19

Closed srhinow closed 4 years ago

srhinow commented 4 years ago

Contao 4.4.49 PHP 7.3

Nachdem ich von 2.1.2 auf 2.2.0 aktualisiert habe, wird zuerst das HTML der Website angezeigt und dann:

 (1/1) FatalThrowableError

Type error: Argument 1 passed to Netzmacht\ContaoWorkflowBundle\PropertyAccess\PropertyAccessManager::__construct() must be iterable, string given, called in /htdocs/var/cache/dev/ContainerOrxtm7x/getNetzmacht_Contao_Workflow_ActionFactory_NotificationService.php on line 8

in PropertyAccessManager.php line 48
--
at PropertyAccessManager->__construct('!tagged_iterator netzmacht.contao_workflow.property_accessor_factory')in getNetzmacht_Contao_Workflow_ActionFactory_NotificationService.php line 8

at require('/htdocs/var/cache/dev/ContainerOrxtm7x/getNetzmacht_Contao_Workflow_ActionFactory_NotificationService.php')in appDevDebugProjectContainer.php line 1360

at appDevDebugProjectContainer->load('getNetzmacht_Contao_Workflow_ActionFactory_NotificationService.php')in getNetzmacht_ContaoWorkflow_ActionFactoryService.php line 11
at appDevDebugProjectContainer->{closure}()in Assertion.php line 2097

at Assertion::__callStatic('ImplementsInterface', array('Netzmacht\\ContaoWorkflowBundle\\Workflow\\Flow\\Action\\ActionTypeFactory'))in ActionFactory.php line 43
at ActionFactory->__construct(object(RewindableGenerator))in getNetzmacht_ContaoWorkflow_ActionFactoryService.php line 17

at require('/htdocs/var/cache/dev/ContainerOrxtm7x/getNetzmacht_ContaoWorkflow_ActionFactoryService.php')in appDevDebugProjectContainer.php line 1360

at appDevDebugProjectContainer->load('getNetzmacht_ContaoWorkflow_ActionFactoryService.php')in getNetzmacht_ContaoWorkflow_Listeners_Builder_WorkflowBuilderService.php line 8

at require('/htdocs/var/cache/dev/ContainerOrxtm7x/getNetzmacht_ContaoWorkflow_Listeners_Builder_WorkflowBuilderService.php')in appDevDebugProjectContainer.php line 1360

at appDevDebugProjectContainer->load('getNetzmacht_ContaoWorkflow_Listeners_Builder_WorkflowBuilderService.php')in appDevDebugProjectContainer.php line 2320

.... weitere debug-Zeilen ....

egal ob ich auf der /contao/install/ oder /contao/ Seite bin. Das ist ürigens "nur" wenn ich mit app_dev.php drauf bin. Wenn ich die Seite ohne debug-Modus aufrufe dann kommt der Fehler erst wenn ich z.B. im Backend auf den Menüpunkt "Workflows" oder "Automator" klicke.

Type error: Argument 1 passed to Netzmacht\ContaoWorkflowBundle\PropertyAccess\PropertyAccessManager::__construct() must be iterable, string given, called in /htdocs/var/cache/prod/ContainerNsuebh5/getNetzmacht_ContaoWorkflow_Type_DefaultService.php on line 8

dmolineus commented 4 years ago

Which symfony version is installed?

Edit: Seems like tagged_iterator is only available in symfony 4.4. https://github.com/symfony/symfony/commit/7f39f36379732fbb5e3c054d52ba5fd967838628

srhinow commented 4 years ago

3.4.42

dmolineus commented 4 years ago

d7914e49d20cc96e428b7cb98d916c87fb160dbf should fix it.

srhinow commented 4 years ago

ja der Fehler ist jetzt weg. Tom schaut noch mal durch ob er noch Fehler in der Funktionsweise findet.