[TYPO3-dev] Extensions need update for 4.3!

Jigal van Hemert jigal at xs4all.nl
Thu Oct 9 10:17:51 CEST 2008


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

What happened to "backwards compatibility"?

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

Two questions:

1) It says it's "catchable"; why isn't it caught? :-)
2) It seems to me that no argument was given. Why not default to an empty
array()?

> Best is to initialize the vars with empty array.
I agree, but the practical side is that TYPO3 lives in a world with
thousands of extensions which may not all contain the best possible code
:-(
If it were 5.0 I wouldn't mind stricter demands, but for 4.x I expect as
many extensions as possible still to function as before. (My $0.02)

-- 
Jigal van Hemert.





More information about the TYPO3-dev mailing list