Compilation error: 'class BlynkWifi' has no member named 'notification'

Blynk.notification() was never a valid Blynk command as far as I know.
Blynk.notify() was a valid Legacy command, but this has now been replaced with different method which uses Events.

This is the Blynk documentation…

and you might find this helpful…

When you fix that you also need to take care of all that garbage in your void loop. You should read this…

Pete.