Issue #2501155 by Plazik: Notice: Undefined property: stdClass::$type in function uptolike_entity_view()