And to add to this question, I’ve discovered that whenever using a child theme this problem persists. But if I switch to a parent theme, all the notifications and messages do work. But this is a problem because I would like to use a child theme so I can make my changes etc.