LUA error you post is problem related to Addons
Run WoW on a clean, default Interface then do test playing for awhile.
Way to do this is
Open the World of Warcraft folder.
Rename the Cache, Interface, and WTF folders to CacheOld, InterfaceOld, and WTFOld.
Launch the game to recreate the default folder structure.