Unity textmeshpro not working

These errors indicate that you have the Legacy version of TextMesh Pro in your project and the package manager version which included in Unity 2018.2 and up.

See the following top sticky post just above in this section of the forum which includes instructions on migration from the legacy version of TextMesh Pro to the package manager version.