[TYPO3-dev] Cannot access empty property

brian bendtsen nightowl at galnet.dk
Wed Dec 5 20:16:02 CET 2007


Hi

Im going crazy here, im making a simple extension but I have a problem 
with this error message when fetching my html template file:

Fatal error: Cannot access empty property in 
C:\AppServ\www\jobskole\typo3conf\ext\jobcenter\pi1\class.tx_jobcenter_pi1.php 
on line 83

Some of my code:

$lConf = $this->conf['listView.'];	// Local settings for the listView 
function
		//Get HTML template:
		$this->templateFileContent = 
$this->cObj->cObjGetSingle($lConf['mytemplate'],$lConf['mytemplate.']);
		$t = array();
line: 83 $this->$t['total'] = 
$this->cObj->getSubPart($this->templateFileContent, 
'###TEMPLATE_JOBLISTE###');

My typoscript:

plugin.tx_jobcenter_pi1.listView.mytemplate = FILE
plugin.tx_jobcenter_pi1.listView.mytemplate.file = 
fileadmin/templates/main/jobliste.html

Any hints?

/Brian Bendtsen




More information about the TYPO3-dev mailing list