[TYPO3-dev] Cannot access empty property

Dmitry Dulepov [typo3] dmitry at typo3.org
Wed Dec 5 20:34:31 CET 2007


Hi!

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

...
> line: 83 $this->$t['total'] = 

Must be:
	$this->t['total'] =

If you use $t, it means you take attribute name from $t. For example, if $t is 'aaa', you are doing $this->aaa.

-- 
Dmitry Dulepov
TYPO3 core team
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
"Nothing is impossible. There are only limits to our knowledge"




More information about the TYPO3-dev mailing list