Bug #56603
closed
error #1251315967: Could not determine the child object typ when adding new property to model
Added by Rob De Vries over 10 years ago.
Updated about 7 years ago.
Description
When i manualy add a new property yo a model, I get :
#1251315967: Could not determine the child object type.
clearing the cache or manual deleting the Cache in typo3temp does not help.
it only helps when truncating the cf_extbase_reflection table.
working with 6.2beta6
mostly the same problem here on 6.2
adding a new property results in Warning: class_parents(): object or string expected
from DataMapper. Clearing Cache from Backend doesn't help. Truncating cf_extbase_reflection works.
seems still present in 6.2.3
The same in 4.5 LTS
Extabse cache cleaning helps :
TRUNCATE tx_extbase_cache_object;
TRUNCATE tx_extbase_cache_object_tags;
TRUNCATE tx_extbase_cache_reflection;
TRUNCATE tx_extbase_cache_reflection_tags;
- Description updated (diff)
- Status changed from New to Rejected
This problem has to do with the extbase reflection cache. This needs to be emptied.
Use the clear cache button in the Install Tool.
Hello,
Wouter Wolters wrote:
This problem has to do with the extbase reflection cache. This needs to be emptied.
Use the clear cache button in the Install Tool.
Just a word : on one of our sites, this problem is quite regular.
And empty cache helps only for several hours.
Best regards,
Fedir
Is anyone here using powermail? We see this regularly on sites with powermail enabled.
It turned out to be Ubuntu 16.04's php-igbinary
extension which got installed as dependency to php-redis
. php-igbinary
is outdated and has a subtle bug:
- Related to Task #81326: Check igbinary version in install tool added
This issue occurs when your domain model misses type hints.
e.g.
you have
protected $name = '';
Instead of:
/**
* @var string
*/
protected $name = '';
After fixing domain model and clearing cache the error goes away (checked with TYPO3 8.7)
Christian Weiske wrote:
It turned out to be Ubuntu 16.04's php-igbinary
extension which got installed as dependency to php-redis
. php-igbinary
is outdated and has a subtle bug:
Thanks for the hint, Christian!
Just for clarification if anyone is affected by the same issue: The solution is to uninstall the `php-igbinary` package from the server. It was automatically installed together with `php-redis`, but it's not needed and can be removed. Don't forget to restart PHP after removing it!
see also https://review.typo3.org/#/c/54209/
Also available in: Atom
PDF