Many notifications show up when connected to WiFi
There are chance that you may turned on "Restrict background data" option. When its turned on apps don't have access to internet unless you open them.

Go to “Settings“.
Select “Data usage“.
Tap the “Menu” Menu icon icon located at the upper-right corner.
Select “Restrict background data“
Uncheck it to turn it off