I have been searching for many hours. I have tried many things. Then it dawned on me that some statements are resolving and some are not. For example:
This code runs without a problem, but the errors are:
There are not errors from the update statement. I tired typing the code into a console:
and there were no errors.
It must be something I am overlooking.