New Error messages in Node Red

The first image is complaining about the function. If you open the function, it tells you you are trying to perform a mathematical operation on a date obj. Use Date.now() for the time in milliseconds.

As far as the delay, have you tried deleting it, deploying and dragging a new delay to the work space?