Skip to content

Fix Notice: Array to string conversion in Field.php by ensuring the array is one level deep.#1811

Merged
I-Valchev merged 2 commits intomasterfrom
bobdenotter-patch-2
Sep 2, 2020
Merged

Fix Notice: Array to string conversion in Field.php by ensuring the array is one level deep.#1811
I-Valchev merged 2 commits intomasterfrom
bobdenotter-patch-2

Conversation

@bobdenotter
Copy link
Copy Markdown
Member

This happens for fields that don't implement their own __toString() method, like type: data, or potentially Fields added by extensions.

Schermafbeelding 2020-09-02 om 11 24 47

Comment thread src/Entity/Field.php Outdated
Copy link
Copy Markdown
Member

@I-Valchev I-Valchev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch! 👍

@I-Valchev I-Valchev merged commit 74e77e5 into master Sep 2, 2020
@I-Valchev I-Valchev deleted the bobdenotter-patch-2 branch September 2, 2020 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants