Issue Bug Closed

#24248Warnings about performing array functions on non-arrays

Joost van Berckel 11/30/10, 15:20 updated 10/02/18, 12:21

Description

After adding google sitemap extensions like advanced_sitemaps (version 1.0.0) and showing this page I get several errors:

XML parse error: garbage after document element Location (message in dutch: troep na documentelement Locatie): http://www.domein.nl/sitemap.xml, rulenumber 2, column 1: warning: Invalid argument supplied for foreach() in /typo3/typo3_src-4.4.4/t3lib/class.t3lib_iconworks.php on line 915

In the source I see more errors, such as:

Warning in_array()[function.in-array]: Wrong datatype for second argument in /typo3/typo3_src-4.4.4/t3lib/class.t3lib_iconworks.php on line 826

and so on.

Who can help me out? I suppose it has somehing to do with the core. I tried the same extensions on different TYPO3 instance (also v4.4.4) and got no errors at all.

(issue imported from #M16620)

Reviews 0

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