Complex sentence: Women, as well as men, are encouraged to become as educated as they can in Islam, and therefore there is nothing wrong with women becoming scholars, having an official position in a masjid is disputed by many.
Split into simpler sentences: Women, as well as men, are encouraged to become as educated as they can in Islam, and therefore there is nothing wrong with women becoming scholars. However the right to have an official position in a masjid is disputed by many.