Project

General

Profile

Actions

Bug #19776

closed

TYPO3 4.3.0alpha1 in combination with DAM throws error in protected function isClassAvailable($className, array $config)

Added by Erik Svendsen almost 16 years ago. Updated about 6 years ago.

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

0%

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

Description

I'm testing TYPO3 4.3.0alpha1 at some develop installation, and have stumbled upon some weird behavior with htmlArea and DAM 1.1.1. The error don't occur on installations without DAM.

If I insert a picture in the editor and load the page with the content element in the frontend, I get the following error.

Catchable fatal error: Argument 2 passed to tslib_cObj::isClassAvailable() must be an array, null given, called in /var/www/html/typo3_src-4.3.0alpha1/typo3/sysext/cms/tslib/class.tslib_content.php on line 5989 and defined in /var/www/html/typo3_src-4.3.0alpha1/typo3/sysext/cms/tslib/class.tslib_content.php on line 6417

As far as I understand is "isClassAvailable" a new functionality in TYPO3 4.3, and I suppose in this case "protected function isClassAvailable($className, array $config)" returns a $className with an array $config = NULL, which isn't expected in line 5989, and therefore throws an error.

(issue imported from #M10074)


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #19620: Frontend plugins show PHP error if there is no TypoScript configurationClosedOliver Hader2008-11-17

Actions
Actions #1

Updated by Oliver Hader almost 16 years ago

This issue was solved in issue #19620 already. Please apply the patch provided there or use latest SVN Trunk of the TYPO3 Core.

Actions #2

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF