Issue Feature Closed

#19446substituteMarkerArrayCached is too strict for older extensions

Ernesto Baschny 10/10/08, 14:45 updated 08/06/10, 13:22

Description

Many extensions using substituteMarkerArrayCached will fail in 4.3 as the function changed. All arguments has to be an array, otherwise you get following error:

Catchable fatal error: Argument [2,3,4] passed to tslib_cObj::substituteMarkerArrayCached() must be an array, null given

Thanks for Steffen Kamper for reporting. After some discussion in the -dev list, the idea came up to keep the type hinting but to allow the special case “null” (also uninitialized variable) to keep older extensions happy.

(issue imported from #M9533)

Reviews 0

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