[Wikidata-bugs] [Maniphest] [Commented On] T107895: BadMethodCallException from line 221 of Entity.php: Call to a member function hasLabel() on a non-object (NULL)

2015-08-04 Thread JeroenDeDauw
JeroenDeDauw added a subscriber: JeroenDeDauw. JeroenDeDauw added a comment. I guess you are right about this being a memcached thing, as getFingerprint should never return null. I double checked the code, and even after the changes that where made to it recently, it still looks correct. I guess

[Wikidata-bugs] [Maniphest] [Commented On] T107895: BadMethodCallException from line 221 of Entity.php: Call to a member function hasLabel() on a non-object (NULL)

2015-08-04 Thread aude
aude added a comment. problem is that we store EntityRevision objects in memcached as serialized objects. :/ DataModel 4.0 objects are incompatible with DataModel 4.1 objects when it comes to deserializing them. For deployments, we bump the memcached key for this stuff so that different branc