"Cannot evaluate parameter override" error is occured when overriding parameter in a class

In reply to watashi:
It’s a little bit confusing what you are doing with your macros, because your individual macros are not needed. The UVM is providing already these mechanisms with UVM macros.
But your problem is the localparam declaration. If you move this to the parameters in the class definition it will work.
BTW, please use code tags to make your code more readable.