Skip to content

Conversation

@Wordlesschunk
Copy link

Currently when trying to add a reporter within the config in symfony6 I was dealt with the error 'Input value "reporters" contains a non-scalar value.'
I found that changing
$reporters = $request->query->get('reporters') ?? [];
to
$reporters = $request->query->all('reporters') ?? [];
resolved this issue.

@kbond kbond merged commit 8dce49c into liip:master Mar 17, 2023
@kbond
Copy link
Collaborator

kbond commented Mar 17, 2023

Thanks!

@kbond kbond mentioned this pull request Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants