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

TypeError if $element['#parents'] is NULL #1

Closed
herbdool opened this issue Feb 9, 2024 · 0 comments · Fixed by #2
Closed

TypeError if $element['#parents'] is NULL #1

herbdool opened this issue Feb 9, 2024 · 0 comments · Fixed by #2
Labels
bug Something isn't working

Comments

@herbdool
Copy link
Collaborator

herbdool commented Feb 9, 2024

TypeError: array_map(): Argument #2 ($array) must be of type array, null given

In my case it seems to be caused by date_repeat_field but would be good to skip if $element['#parents'] doesn't exist.

@herbdool herbdool added the bug Something isn't working label Feb 9, 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

Successfully merging a pull request may close this issue.

1 participant