Bug #24248
closedWarnings about performing array functions on non-arrays
100%
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: <b>warning</b>: Invalid argument supplied for foreach() in <b>/typo3/typo3_src-4.4.4/t3lib/class.t3lib_iconworks.php</b> on line <b>915</b><br/>
In the source I see more errors, such as:
Warning in_array()[<a href='function.in-array'>function.in-array</a>]: 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)
Files