-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to get property of non-object #82
Comments
а можно весь трейс? |
Можно конечно.. yii\base\ErrorException: Trying to get property of non-object in /var/www/html/vendor/mirocow/yii2-eav/src/models/EavAttribute.php:122 |
Ясно.. Трек такой -> я прикрутил виджет к форме продукта, не увидел его собственно, и создал атрибут через код: |
Рулез является не обязательной, предложи вариант как лучше сделать. Или пришли PR с фиксом |
|
Пытаюсь создать атрибут.
Получаю Trying to get property of non-object
Ругается на /vendor/mirocow/yii2-eav/src/models/EavAttribute.php ->
public function getRequired()
{
return $this->attributeRule->required;
}
The text was updated successfully, but these errors were encountered: