There seems to be a fairly commly repeating error with the notification popups, it seems to be trying to .flatten() objects. .flatten() is not a a built in method.
In the story javascript in the notify macro lines 516 & 518 should be changed to use .flat()