In general, it is helpful to post the part of your code that is generating the issue. If you can create a new patch with only the nodes required to generate the same error, that would help you debug the issue as well as help others see where the problem might be.
That being said, it looks like your problem is with the digital-write node itself, which includes this code:
const bool val = getValue<input_SIG>(ctx);
::digitalWrite(constant_input_PORT, val);
It seems very odd that this commonly used node that hasn’t been changed in a long time would suddenly be a problem just for you… There is some chance that you have over-ridden the default code. See one of many previous posts on this topic: I broke XOD with help from my son