Default Notification problem

Hello.
Lately I have been experiencing a problem with my notifications on my xperia Z ultra. I can receive notifications on WhatsApp and emails on Gmail however my phone doesn't notify me that I have received the messages until I go into the app. Has anyone else experienced the same problem or know how to resolve it.
Thanks