Skip to content
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

Error nach installation von 2.2.0 #19

Closed
srhinow opened this issue Jun 23, 2020 · 4 comments
Closed

Error nach installation von 2.2.0 #19

srhinow opened this issue Jun 23, 2020 · 4 comments
Assignees
Labels
Milestone

Comments

@srhinow
Copy link

srhinow commented Jun 23, 2020

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
Copy link
Member

dmolineus commented Jun 23, 2020

Which symfony version is installed?

Edit: Seems like tagged_iterator is only available in symfony 4.4. symfony/symfony@7f39f36

@dmolineus dmolineus self-assigned this Jun 23, 2020
@dmolineus dmolineus added the bug label Jun 23, 2020
@dmolineus dmolineus added this to the 2.2.1 milestone Jun 23, 2020
@srhinow
Copy link
Author

srhinow commented Jun 23, 2020

3.4.42

@dmolineus
Copy link
Member

d7914e4 should fix it.

@srhinow
Copy link
Author

srhinow commented Jun 23, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants