Accessing seller on the interface yii\web\IdentityInterface suggest that you code against a concrete implementation. How about adding an instanceof check?
Accessing seller_id on the interface yii\web\IdentityInterface suggest that you code against a concrete implementation. How about adding an instanceof check?