cancel
Showing results for 
Search instead for 
Did you mean: 

Attempt to load value of nonexistent EAV attribute '172'

Attempt to load value of nonexistent EAV attribute '172'

When I open any product from admin and when I remove the assigned category from it and save it, it takes so much time and after it shows me the "Service Unavailable" message.

Then I check the system.log file I see it show me some error as a warning but I think it will create the issue.

main.WARNING: Attempt to load value of nonexistent EAV attribute '164' 
                        for entity type 'Magento\Catalog\Api\Data\CategoryInterface'. [] []
main.WARNING: Attempt to load value of nonexistent EAV attribute '165' 
                        for entity type 'Magento\Catalog\Api\Data\CategoryInterface'. [] []

Did you know anyone how to fix it?

2 REPLIES 2

Re: Attempt to load value of nonexistent EAV attribute '172'

They decided to write warnings if a product has an attribute with some value that is not present in its current attribute set.

 

But it's kind normal situation that attribute has value, but is not added to current attribute set now. 
Maybe admin user is working in the catalog and removed it just now. 

 

For now you can add it back to attribute set. 

But in general there should be some better fix 

Re: Attempt to load value of nonexistent EAV attribute '172'

@OlexandrB ,is there any solution for this issue using code magento 2.3

I am facing same error or sql query