You can no longer modify the contents of a Script operator outside of it’s onCook callback. You should move your code into the onCook callback for that node instead. If you want it to execute that code at a particular time, then call cook() on the script operator
Thanks Malcolm,
So its to do with where the script operator is located, so all code should be moved to the one location - the same as the onCook callback for each node?
I have to admit I am new to coding, do you know if a fix for this issue was clearly explained anywhere in the forum or on the derative website? as I could really do with an example to follow to help me clean up these errors.