In my case I found out that there is a name conflict for my interface event. But there wasn’t any duplicate. I just fixed it by deleting the previous interface function and created a new one. And it worked perfectly. No more errors on startup.
Hope it helps.
Cheers.