Index: typo3/sysext/cms/tslib/class.tslib_content.php =================================================================== --- typo3/sysext/cms/tslib/class.tslib_content.php (revision 9818) +++ typo3/sysext/cms/tslib/class.tslib_content.php (working copy) @@ -392,7 +392,10 @@ $hookObject = t3lib_div::getUserObj($classData); if(!($hookObject instanceof tslib_content_stdWrapHook)) { - throw new UnexpectedValueException('$hookObject must implement interface tslib_content_stdWrapHook', 1195043965); + throw new UnexpectedValueException( + $classData . ' implement interface tslib_content_stdWrapHook', + 1195043965 + ); } $this->stdWrapHookObjects[] = $hookObject; @@ -404,7 +407,10 @@ $postInitializationProcessor = t3lib_div::getUserObj($classData); if(!($postInitializationProcessor instanceof tslib_content_PostInitHook)) { - throw new UnexpectedValueException('$postInitializationProcessor must implement interface tslib_content_PostInitHook', 1274563549); + throw new UnexpectedValueException( + $classData . ' must implement interface tslib_content_PostInitHook', + 1274563549 + ); } $postInitializationProcessor->postProcessContentObjectInitialization($this);