We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We are trying to migrate our first project to Symfony 6.4 with Kunstmaan 7.1. However, we are facing issues in the ExportService:
src/Kunstmaan/AdminListBundle/Service/ExportService.php#L80
foreach ($iterator as $item) { if (\array_key_exists(0, $item)) { $itemObject = $item[0]; } else { $itemObject = $item; }
\array_key_exists() expects $item to be an array, however it is directly our Entity of the current AdminList;
\array_key_exists()
$item
array_key_exists(): Argument #2 ($array) must be of type array, App\Entity\MyEntity given
For now, we have patched this into the following;
foreach ($iterator as $item) { if (\is_array($item) && \array_key_exists(0, $item)) { $itemObject = $item[0]; } else { $itemObject = $item; }
The text was updated successfully, but these errors were encountered:
@jerome2710 can you send a PR to fix this please?
Sorry, something went wrong.
@acrobat #3473
No branches or pull requests
We are trying to migrate our first project to Symfony 6.4 with Kunstmaan 7.1. However, we are facing issues in the ExportService:
src/Kunstmaan/AdminListBundle/Service/ExportService.php#L80
\array_key_exists()
expects$item
to be an array, however it is directly our Entity of the current AdminList;For now, we have patched this into the following;
The text was updated successfully, but these errors were encountered: