Error in creating any macros "Failed to create macro : An operation that depends on state cached in an interface object was made but the state had changed since it was read from disk"

This is a strange error, I am not sure what triggered it.

Do you have a backup of your macros?