Project

General

Profile

Actions

Bug #19758

closed

Missleading Error with Emtpy COA: Catchable fatal error: Argument 1 passed to tslib_cObj::includeLibs() must be an array, null g

Added by Ingo Schmitt almost 16 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2009-01-02
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When having an empty COA in your TS, you get an missleading error Message: Catchable fatal error: Argument 1 passed to tslib_cObj::includeLibs() must be an array, null given.

The attached patch solves this problem in testing in the calling method COA_ARRAY if conf is an array, of not it adds a warning to the TT.

Create an empty page and add this TS to the page:
page = PAGE
page.10 = TEXT
page.10.value = Huhu 1
page.20 = COA
page.30 = TEXT
page.30.value = Huhu 2

(issue imported from #M10045)


Files

emptyCOA.patch (1.94 KB) emptyCOA.patch Administrator Admin, 2009-01-02 17:37

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #19941: The function COBJ_ARRAY in the tslib_content crashesClosedSteffen Kamper2009-01-30

Actions
Actions #1

Updated by Steffen Kamper almost 16 years ago

committed to 4_2 and trunk, rev 4883/4884

Actions #2

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF