[TYPO3-ttnews] Fatal error: Call to a member function extraItemMarkerProcessor() on a non-object in /var/www/vhosts/mydomain.com/httpdocs/typo3conf/ext/tt_news/pi/class.tx_ttnews.php on line 1621
Rupert Germann
rupi at gmx.li
Fri May 26 12:38:19 CEST 2006
Antonio Willybiro [awillys] wrote:
> That is what i have there:
>
> // Adds hook for processing of extra item markers
> if
> (is_array($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['tt_news'
['extraItemMarkerHook']))
> {
> foreach($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['tt_news'
['extraItemMarkerHook']
> as $_classRef) {
> $_procObj = & t3lib_div::getUserObj($_classRef);
> $markerArray = $_procObj->extraItemMarkerProcessor($markerArray, $row,
> $lConf, $this);
> }
>
> Should i remove this?
no.
the reason for the not existing $_procObj can only be a wrong initialisation
of the extraItemMarkerHook array. This Hook is not used internally by
tt_news so the reason for this error must be located somewhere else.
if an extension adds a classname to the array $GLOBALS['TYPO3_CONF_VARS'
['EXTCONF']['tt_news']['extraItemMarkerHook'] and this class has not been
included, than of course t3lib_div::getUserObj will not return an object.
You can check which extensions are using this hook with the module:
Tools/Configuration.
open TYPO3_CONF_VARS->EXTCONF->tt_news->extraItemMarkerHook and you'll see
the classnames that access this hook.
greets
rupert
More information about the TYPO3-project-tt-news
mailing list