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

Fix error when executing method SSViewer::templates() when $subTempla… #10044

Merged
merged 1 commit into from
Aug 5, 2021

Conversation

TheBnl
Copy link
Contributor

@TheBnl TheBnl commented Aug 5, 2021

…tes is still null

Without the fix this causes the framework to throw a 500 error:
ERROR [Warning]: array_merge(): Expected parameter 2 to be an array, null given

I noticed the error while doing a search with the GridFieldAddExistingAutocompleter. The error probably gets supressed on live environments.

…tes is still null

Without the fix this causes the framework to throw a 500 error:
`ERROR [Warning]: array_merge(): Expected parameter 2 to be an array, null given`

I noticed the error while doing a search with the `GridFieldAddExistingAutocompleter`. The error probably gets supressed on live environments.
@emteknetnz emteknetnz merged commit e0548b2 into silverstripe:4 Aug 5, 2021
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.

None yet

3 participants