[TYPO3-mvc] blog_example floods the error_log

Jochen Rau jochen.rau at typoplanet.de
Wed Dec 2 12:06:39 CET 2009


Hi Steffen.

Steffen Kamper wrote:
> i think i found one reason.
>
> in Classes/Persistence/Backend.php line 349 you find this:
>
> if (($propertyValue instanceof Tx_Extbase_Persistence_LazyLoadingProxy)
> || ((get_class($propertyValue) ===
> 'Tx_Extbase_Persistence_LazyObjectStorage') &&
> ($propertyValue->isInitialized() === FALSE))) {
>
> You see get_class($propertyValue)
>
> It looks ok because the instanceOf, but it fails as log says:
>
> PHP Warning: get_class() expects parameter 1 to be object, integer given
> PHP Warning: get_class() expects parameter 1 to be object, null given
> PHP Warning: get_class() expects parameter 1 to be object, string given
> etc

Thanks for clarification. This is indeed an issue. Can you post it on 
forge please. I'll take care asap.

Regards
Jochen

-- 
Every nit picked is a bug fixed



More information about the TYPO3-project-typo3v4mvc mailing list