Extracting the updated prior parameter values

Also, another question, in the second error,

I looked at the code again and looked at the link that you sent. I found out could it be because of the naming it caused this error (Am I right)? I vaguely remember that either trace or tensor can be used to rename the variable.