weird error - failed to open stream - .module file in theme path?
There are a custom module and custom theme with the same name - activit


That's what causes the problem. Module and theme names need to be unique amongst one another. Drupal doesn't support duplicate names, and weird things can happen if you go against that.

See Module/theme name collision for more information.