TYPO3 Forge: Issueshttp://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692010-11-30T15:20:56ZTYPO3 Forge
Redmine TYPO3 Core - Bug #24248 (Closed): Warnings about performing array functions on non-arrayshttp://forge.typo3.org/issues/242482010-11-30T15:20:56ZJoost van Berckel
<p>After adding google sitemap extensions like advanced_sitemaps (version 1.0.0) and showing this page I get several errors:</p>
<p>XML parse error: garbage after document element Location (message in dutch: troep na documentelement Locatie): <a class="external" href="http://www.domein.nl/sitemap.xml">http://www.domein.nl/sitemap.xml</a>, 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/></p>
<p>In the source I see more errors, such as:</p>
<p>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</p>
<p>and so on.</p>
<p>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.</p>
<p>(issue imported from #M16620)</p>