I had this problem on one of our machines and following this advice from one of the two articles you found fixed it:
You’re missing a scripting file called Adobe Unit Types. It belongs in a folder called ScriptingAdditions, which is found in the root level library on your hard drive. The path would be [your hard drive name] > [Library] > ScriptingAdditions. Check this folder and if you don’t have Adobe Unit Types, check your Previous System folder’s root library from your clean install. If you find you do have Adobe Unit Types, first quit all applications (especially Adobe apps). Then just drag Adobe Unit Types from your Previous System Folder’s Scripting Additions folder to your new ScriptingAdditions folder. (And if for some reason you don’t have a ScriptingAdditions folder, you can create one. Be sure NOT to put a space between the two words — make the name ScriptingAdditions.)
After you’ve done this, I’d restart your machine