[TYPO3-english] deprecated tslib_content_Abstract->stdWrap() function?

Stefan Frömken firma at sfroemken.de
Tue Aug 23 08:09:51 CEST 2011


Hello Axel,

as you can see in row 788 you will find a functioncall to 
"tslib_cObj->cObjGet". The next functioncall goes to row 717 
"tslib_cObj->cObjGetSingle". But than happens something I don't 
understand: row 770 functionCall "tslib_content_PhpScript->render". In 
file tslib/class.tslib_content.php is no call to this function on row 
770. The row must look like this:

$content .= $contentObject->render($conf);

This function will only be called if the current function is not hooked. 
So in my opinion there is something wrong. Maybe modified? Please give 
us the code of your row 770.

Stefan

Am 22.08.2011 15:29, schrieb Axel:
> Hello,
>
> we use Typo3 4.5.5 under Debian squeeze with Apache 2.2.16.
> The deprecation log in typo3conf shows a lot of entries liek these:
>
> ====
> tslib_content_Abstract->stdWrap() - since TYPO3 4.5, this function will
> be removed in TYPO3 4.7, use $this->cObj->stdWrap() instead. -
> require#84 // include#451 // TSpagegen::renderContent#76 //
> TSpagegen::renderContentWithHeader#330 // tslib_cObj->cObjGet#788 //
> tslib_cObj->cObjGetSingle#717 // tslib_content_PhpScript->render#770 //
> include#57 // tslib_content_Abstract->stdWrap#45 //
> t3lib_div::logDeprecatedFunction#68
> (c-4.5.5/typo3/sysext/cms/tslib/content/class.tslib_content_abstract.php#67)
> ===
> tslib_content_Abstract->stdWrap() - since TYPO3 4.5, this function will
> be removed in TYPO3 4.7, use $this->cObj->stdWrap() instead. -
> require#84 // include#451 // TSpagegen::renderContent#76 //
> TSpagegen::renderContentWithHeader#330 // tslib_cObj->cObjGet#788 //
> tslib_cObj->cObjGetSingle#717 // tslib_content_PhpScript->render#770 //
> include#57 // tslib_content_Abstract->stdWrap#46 //
> t3lib_div::logDeprecatedFunction#68
> (c-4.5.5/typo3/sysext/cms/tslib/content/class.tslib_content_abstract.php#67)
> ===
>
> Does someone know how and especially where to fix these?
> In the PHP code, PHP extension code, Typoscript templates, ...?
>
> How do I find out where?
>
> Thanks for any hint or idea!
>
> Regards,
>
> Axel



More information about the TYPO3-english mailing list