Magento 2: The value of attribute “is_new” must be set


#1

I’m getting this error when trying to create a new category.

“The value of attribute “is_new” must be set”

I’ve tried the answers in this thread to no avail.

Is there anything else I should try?


#2

This problem has already been reported as a bug, check this GitHub link.

According to this thread (https://magento.stackexchange.com/q/139800/34408), I think you have created any custom category attributes which are causing the problem. You have two ways to resolve it:

  • Change the value of is_required property of your attribute from 1 to 0.
  • Set default value as empty - ' '. This empty value should be set in DB.

For further reference, you can check out GitHub link and see if that helps!