I have shop with some custom product attributes - everything working find. But today I added a new custom attribute (id 163) and added to default set.
I can see dropdowns for new attribute - but after saving the product with selected value of new attribute a warning is in system.log - and after reloading product in admin selected value is not set in new attribute:
main.WARNING: Attempt to load value of nonexistent EAV attribute '163' for entity type 'Magento\Catalog\Api\Data\ProductInterface'.
I find some other threads with same error but no solution. In table catalog_product_index_eav there is value of selection saved ...
Thanks for help! Martin