If this rule will be broken, it will PHP fatal error: "attempt to call method on non object"