Widget compiling with errors in 4.16

I have created UI with Widgets and they are running well in 4.15. However when I am switching from 4.15 to 4.16, the widget have errors after re-compiling. Results is as attached image. Does anyone got the same issue?