Warning message "Please remove the CanvasRenderer component from the [X] GameObject as this component is no longer necessary."

Hi. Unity drops me this warning message everytime i start the play mode. The “X” GameObject its a Text Mesh Pro Text component in a world render canvas.
When i manually remove the canvas renderer component from the gameobject it drops me the next error:
“MissingReferenceException: The object of type ‘CanvasRenderer’ has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object.”
(even in scene view)