This warning appeared quite a bit with Revit 2016 and patched in subsequent updates.
I’ve clicked Restart to no joy and I’ve submitted the error. I’ve done the Edit Color Scheme and Cancel process described for Revit 2016 with no joy either. Hopefully it will get sorted out again.