Bug #19776
closedTYPO3 4.3.0alpha1 in combination with DAM throws error in protected function isClassAvailable($className, array $config)
0%
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)
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.