Clear error message with missing template in view class