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 rendering template #10

Closed
Wonko52 opened this issue Apr 16, 2024 · 1 comment
Closed

Error rendering template #10

Wonko52 opened this issue Apr 16, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Wonko52
Copy link

Wonko52 commented Apr 16, 2024

Fresh installation: when calling up the plug-in page, the error appears:
An exception has been thrown during the rendering of a template ("Warning: Array to string conversion").

The solution was:
Line 171 in var/plugins/DemoBundle/Resources/views/index.html.twig

{{ value }}
replace with
{{ value is iterable ? value|join(', ') : value }}

@kevinpapst
Copy link
Member

Thanks, fixed in latest release

@kevinpapst kevinpapst added the bug Something isn't working label Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants