[TYPO3-dev] Cannot access empty property
Brian Bendtsen
nightowl at galnet.dk
Fri Dec 7 08:46:05 CET 2007
Dmitry Dulepov [typo3] skrev:
> 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.
>
Hi
This helped, but I have previously used the other method without
problems, is this because of different typo3 or php versions?
/BB
More information about the TYPO3-dev
mailing list