What does “Cache location entry for Photos.app in cache file” error signify in Automator app?

Solution 1:

I'm not sure what causes the modification/corruption, but my solution has been to delete the specified files, in your case:

/Users/barbooths/Library/Caches/com.apple.automator.actionCache-bundleLocations.plist

Doing this eliminates the warnings for me (I was getting automator, photos, system image utility and a few others.

My automator scripts still run correctly from the terminal, they just do without the extra warning output.