Issue #2101537 by ptsimard: Fixed Getting an undefined index: wetkit_pages() error on enabling modules.