[TYPO3-mvc] Iterate through ObjectStorage Object using offset
Jochen Rau
jochen.rau at typoplanet.de
Tue May 25 21:05:04 CEST 2010
Hi.
On 25.05.10 18:21, Kevin Ulrich Moschallski wrote:
> i just updated to the newest revision and now i get this error:
>
> PHP Fatal error: Declaration of Tx_Extbase_Persistence_ObjectStorage::offsetSet() must be compatible with that of ArrayAccess::offsetSet() in /Applications/MAMP/htdocs/santen/typo3conf/ext/extbase/Classes/Persistence/ObjectStorage.php on line 35
>
> A don't call offsetSet() myself and i can't find the reason for this error. Any hint?
This is caused by the signature
offsetSet($object, $information = NULL) in ObjectStorage
which was not compatible to
offsetSet($object, $information) in ArrayAccess
Depending on your php.ini settings, PHP complains about this. This is
fixed in the latest rev. of Extbase.
Regards
Jochen
More information about the TYPO3-project-typo3v4mvc
mailing list