Fixed issue - Undefined property: stdClass::$subject