Project

General

Profile

Actions

Bug #24248

closed

Warnings about performing array functions on non-arrays

Added by Joost van Berckel over 13 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-11-30
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.4
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

16620.patch (1.28 KB) 16620.patch Administrator Admin, 2010-12-01 23:10
16620_4-4.patch (1.35 KB) 16620_4-4.patch Administrator Admin, 2010-12-01 23:10
Actions

Also available in: Atom PDF