Issue Bug Closed

#19758Missleading Error with Emtpy COA: Catchable fatal error: Argument 1 passed to tslib_cObj::includeLibs() must be an array, null g

Ingo Schmitt 01/02/09, 17:37 updated 10/02/18, 12:30

Description

When having an empty COA in your TS, you get an missleading error Message: Catchable fatal error: Argument 1 passed to tslib_cObj::includeLibs() must be an array, null given.

The attached patch solves this problem in testing in the calling method COA_ARRAY if conf is an array, of not it adds a warning to the TT.

Create an empty page and add this TS to the page:
page = PAGE
page.10 = TEXT
page.10.value = Huhu 1
page.20 = COA
page.30 = TEXT
page.30.value = Huhu 2

(issue imported from #M10045)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.