Hello,
I had the same issue, it is now resolved with the Mimosa's solution :
https://ask.ocsinventory-ng.org/6024/erreur-lors-linstallation-plugin-officepack-sur-version-en?show=6456#a6456
In this thread, it is for the Officepack plugin, but its the same way for the Teamviewer plugin.
Don't forget to reload apache service ;-) !!
I had the same issue, it is now resolved with the Mimosa's solution :
https://ask.ocsinventory-ng.org/6024/erreur-lors-linstallation-plugin-officepack-sur-version-en?show=6456#a6456
In this thread, it is for the Officepack plugin, but its the same way for the Teamviewer plugin.
Don't forget to reload apache service ;-) !!