[TYPO3-mvc] [Extbase] Object doesn't get initialized.

Christine Gerpheide cgerpheide at gmail.com
Thu Oct 14 22:33:14 CEST 2010


Hello,

2010/10/14 Alexander Dick <alex at dick.at>

>
> Hi,
>
> Try to remove the assignment in your constructor: $this->items = new
> Tx_Extbase_Persistence_ObjectStorage;
>
> >
> >>      $this->items = new Tx_Extbase_Persistence_ObjectStorage;
> >>
>

It also seems to me that this line should have had parentheses on the end of
it:
$this->items = new Tx_Extbase_Persistence_ObjectStorage();

Christine


More information about the TYPO3-project-typo3v4mvc mailing list