/script UIErrorsFrame:Clear() no longer works

I used to put this on my macros to prevent the red text, but it doesn’t works anymore.