I got this error, too. I, also, did have a button that was linked to a procedure which was named like the module it was in. After i renamed the module, the error occurred. I had a version before my changes so tried some things.
What finally worked was:
After the error already occured:
Before renaming the module:
I hope this helps!