{"type":"rich","version":"1.0","provider_name":"phorkie","provider_url":"https:\/\/p.cweiske.de\/","title":"TYPO3 powermail: class_parents(): object or string expected","author_name":"Christian Weiske","cache_age":86400,"width":900,"height":900,"html":"<!-- embedding all files of https:\/\/p.cweiske.de\/443 -->\n<link rel=\"stylesheet\" href=\"https:\/\/p.cweiske.de\/css\/embed.css\"\/>\n<div class=\"phork\" id=\"443\">\n    <div class=\"phork-file\">\n <div class=\"phork-content\">\n  \n<div class=\"document\">\n\n\n<blockquote>\nTYPO3CMSCoreErrorException:\nPHP Warning: class_parents(): object or string expected\nin typo3\/sysext\/extbase\/Classes\/Persistence\/Generic\/Mapper\/DataMapper.php line 283\nin typo3\/sysext\/core\/Classes\/Error\/ErrorHandler.php:111<\/blockquote>\n<p>We have serious problems with extbase reflection cache on 7.6 with powermail. Fields from powermail cannot be mapped because the reflection info misses a single field.<\/p>\n<p>I found that cf_extbase_reflection contains multiple reflection data cache identifiers, but - what puzzles me - is that some classes are contained in multiple of those cache entries<\/p>\n<p>e.g. ReflectionData_Powermail contains class information for powermail but also our own extension's data. same for fluidpages and fluidcontent, which also have some of our extension classes in their cache info (&quot;reflectedClassNames&quot;)<\/p>\n<p>is this normal?<\/p>\n<p>how are cache identifiers assigned\/used?<\/p>\n<p>as I see it, they are initialized per-extension - each extension has its own reflection cache<\/p>\n<p>but that does not seem to be the problem, although I'd really like to know why this is mixed up sometimes.<\/p>\n<p>now a different property is missing in the reflection info :confused:<\/p>\n<p>so we found the problem. We're running Ubuntu 16.04 and have php-redis installed, which depends on ... php-igbinary. The igbinary extension in ubuntu is outdated (<a class=\"reference external\" href=\"https:\/\/bugs.launchpad.net\/ubuntu\/+source\/php-igbinary\/+bug\/1651031\">https:\/\/bugs.launchpad.net\/ubuntu\/+source\/php-igbinary\/+bug\/1651031<\/a>) and has subtle bugs (<a class=\"reference external\" href=\"https:\/\/github.com\/igbinary\/igbinary\/issues\/114\">https:\/\/github.com\/igbinary\/igbinary\/issues\/114<\/a>).<\/p>\n<\/div>\n\n <\/div>\n <div class=\"phork-meta\">\n  <a href=\"https:\/\/p.cweiske.de\/443\/rev-raw\/9fcebad363af87fd4b2e5f4c1e69508177991e0b\/README.rst\" style=\"float: right\">view raw source<\/a>\n  <a href=\"https:\/\/p.cweiske.de\/443#README.rst\">README.rst<\/a>\n <\/div>\n<\/div>\n<\/div>\n"}
