[TYPO3-mvc] blog_example floods the error_log

Steffen Kamper info at sk-typo3.de
Tue Dec 1 18:24:50 CET 2009


Hi,

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

vg Steffen


More information about the TYPO3-project-typo3v4mvc mailing list