variable or field declared void

FYI: I had EXACTLY the same issue as OP.
Problems started when I renamed a tab. I tested all ideas in this thread without success.
My solution was to remove the function sendNTPpacket() and move the content into getNtpTime(). I also had to change the word address to ntpServerIP.
After that it compiled...