Skip to content

fix: convert multiple index search array to string for OpenSearch - #24

Merged
Soner (shyim) merged 1 commit into
shopware:mainfrom
pkramme:fix_array_to_string_opensearch
Mar 5, 2026
Merged

Soner (shyim) merged 1 commit into
shopware:mainfrom
pkramme:fix_array_to_string_opensearch

Conversation

@pkramme

Copy link
Copy Markdown
Contributor
[2026-03-05T11:46:37.617232+00:00] php.ERROR: Warning: Array to string conversion {"exception":"[object] (ErrorException(code: 0): Warning: Array to string conversion at vendor/shopware/opentelemetry/src/Instrumentation/OpenSearchInstrumentation.php:47)"} []

Sometimes $index contains

array (
  0 => 'elasticsearch-user-1_product',
  1 => 'elasticsearch-user-1_product_manufacturer',
  2 => 'elasticsearch-user-1_category',
);

@codecov-commenter

Copy link
Copy Markdown

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@shyim
Soner (shyim) merged commit de4a851 into shopware:main Mar 5, 2026
3 of 4 checks passed
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.

3 participants