Thanks, esmi. Unfortunately none of your suggestions worked.
It looks like my installation is indeed cursed. One thing I did notice is that the line numbers on which the errors occurred changed when I altered which plugins were enabled.
I’ll try another random theme and see if that makes any difference.
Any ideas about the fact that the Custom Field “thumb” also fails? If that could work then the “Set featured image” failure wouldn’t matter so much.