Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[FrameworkBundle][Workflow] Throw exception is workflow.xxx.transitions is not an array#51078

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@lyrixx
Copy link
Member

QA
Branch?5.4
Bug fix?yes
New feature?no
Deprecations?no
Tickets
LicenseMIT
Doc PR

The following code raises a fatal error:

framework:workflows:articles:transitions:
ErrorException:Warning: foreach() argument must be of type array|object, null given  at /home/gregoire/dev/github.com/Faume-co/modules-shopify/vendor/symfony/framework-bundle/DependencyInjection/Configuration.php:522  at Symfony\Bundle\FrameworkBundle\DependencyInjection\Configuration->Symfony\Bundle\FrameworkBundle\DependencyInjection\{closure}()     (/home/gregoire/dev/github.com/Faume-co/modules-shopify/vendor/symfony/config/Definition/Builder/ExprBuilder.php:246)  at Symfony\Component\Config\Definition\Builder\ExprBuilder::Symfony\Component\Config\Definition\Builder\{closure}()     (/home/gregoire/dev/github.com/Faume-co/modules-shopify/vendor/symfony/config/Definition/BaseNode.php:357)  at Symfony\Component\Config\Definition\BaseNode->normalize()     (/home/gregoire/dev/github.com/Faume-co/modules-shopify/vendor/symfony/config/Definition/ArrayNode.php:292)  at Symfony\Component\Config\Definition\ArrayNode->normalizeValue()     (/home/gregoire/dev/github.com/Faume-co/modules-shopify/vendor/symfony/config/Definition/BaseNode.php:385)  at Symfony\Component\Config\Definition\BaseNode->normalize()     (/home/gregoire/dev/github.com/Faume-co/modules-shopify/vendor/symfony/config/Definition/PrototypedArrayNode.php:251)  at Symfony\Component\Config\Definition\PrototypedArrayNode->normalizeValue()     (/home/gregoire/dev/github.com/Faume-co/modules-shopify/vendor/symfony/config/Definition/BaseNode.php:385)  at Symfony\Component\Config\Definition\BaseNode->normalize()     (/home/gregoire/dev/github.com/Faume-co/modules-shopify/vendor/symfony/config/Definition/ArrayNode.php:292)  at Symfony\Component\Config\Definition\ArrayNode->normalizeValue()     (/home/gregoire/dev/github.com/Faume-co/modules-shopify/vendor/symfony/config/Definition/BaseNode.php:385)  at Symfony\Component\Config\Definition\BaseNode->normalize()     (/home/gregoire/dev/github.com/Faume-co/modules-shopify/vendor/symfony/config/Definition/ArrayNode.php:292)  at Symfony\Component\Config\Definition\ArrayNode->normalizeValue()     (/home/gregoire/dev/github.com/Faume-co/modules-shopify/vendor/symfony/config/Definition/BaseNode.php:385)  at Symfony\Component\Config\Definition\BaseNode->normalize()     (/home/gregoire/dev/github.com/Faume-co/modules-shopify/vendor/symfony/config/Definition/Processor.php:32)  at Symfony\Component\Config\Definition\Processor->process()     (/home/gregoire/dev/github.com/Faume-co/modules-shopify/vendor/symfony/config/Definition/Processor.php:46)  at Symfony\Component\Config\Definition\Processor->processConfiguration()     (/home/gregoire/dev/github.com/Faume-co/modules-shopify/vendor/symfony/dependency-injection/Extension/Extension.php:109)  at Symfony\Component\DependencyInjection\Extension\Extension->processConfiguration()     (/home/gregoire/dev/github.com/Faume-co/modules-shopify/vendor/symfony/framework-bundle/DependencyInjection/FrameworkExtension.php:259)  at Symfony\Bundle\FrameworkBundle\DependencyInjection\FrameworkExtension->load()     (/home/gregoire/dev/github.com/Faume-co/modules-shopify/vendor/symfony/dependency-injection/Compiler/MergeExtensionConfigurationPass.php:76)  at Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationPass->process()     (/home/gregoire/dev/github.com/Faume-co/modules-shopify/vendor/symfony/http-kernel/DependencyInjection/MergeExtensionConfigurationPass.php:45)  at Symfony\Component\HttpKernel\DependencyInjection\MergeExtensionConfigurationPass->process()     (/home/gregoire/dev/github.com/Faume-co/modules-shopify/vendor/symfony/dependency-injection/Compiler/Compiler.php:80)  at Symfony\Component\DependencyInjection\Compiler\Compiler->compile()     (/home/gregoire/dev/github.com/Faume-co/modules-shopify/vendor/symfony/dependency-injection/ContainerBuilder.php:767)  at Symfony\Component\DependencyInjection\ContainerBuilder->compile()     (/home/gregoire/dev/github.com/Faume-co/modules-shopify/vendor/symfony/http-kernel/Kernel.php:506)  at Symfony\Component\HttpKernel\Kernel->initializeContainer()     (/home/gregoire/dev/github.com/Faume-co/modules-shopify/vendor/symfony/http-kernel/Kernel.php:757)  at Symfony\Component\HttpKernel\Kernel->preBoot()     (/home/gregoire/dev/github.com/Faume-co/modules-shopify/vendor/symfony/http-kernel/Kernel.php:185)  at Symfony\Component\HttpKernel\Kernel->handle()     (/home/gregoire/dev/github.com/Faume-co/modules-shopify/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()     (/home/gregoire/dev/github.com/Faume-co/modules-shopify/vendor/autoload_runtime.php:29)  at require_once('/home/gregoire/dev/github.com/Faume-co/modules-shopify/vendor/autoload_runtime.php')     (/home/gregoire/dev/github.com/Faume-co/modules-shopify/public/index.php:5)

@lyrixxlyrixxforce-pushed theworkflow-configuration-array branch fromebbcd7c tocbe285cCompareJuly 24, 2023 09:52
@lyrixxlyrixxforce-pushed theworkflow-configuration-array branch fromcbe285c tof585930CompareJuly 24, 2023 09:53
@nicolas-grekas
Copy link
Member

Thank you@lyrixx.

@nicolas-grekasnicolas-grekas merged commitfdf441d intosymfony:5.4Jul 26, 2023
@lyrixxlyrixx deleted the workflow-configuration-array branchJuly 26, 2023 21:31
This was referencedJul 29, 2023
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

1 more reviewer

@HeahDudeHeahDudeHeahDude approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

5.4

Development

Successfully merging this pull request may close these issues.

4 participants

@lyrixx@nicolas-grekas@HeahDude@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp