I enabled the module, put the site in maintenance mode and configured the exception by query string with the value as 'pass'.
when viewing the site in a private window, I get the warning
Notice: Undefined index: pass in maintenance_exempt_menu_site_status_alter() (line 30 of /home/alanlobo/public_html/businessgoa.net/sites/all/modules/maintenance_exempt/maintenance_exempt.module).

Comments

alansaviolobo’s picture

I believe line 30 should be

 if ($key && isset($_GET[$key]) && in_array($_GET["$key"], maintenance_exempt_get_query_strings())) {
randallkent’s picture

StatusFileSize
new712 bytes

This patch should take care of it. Going to commit it to the dev branch and try to address the other open issues before doing a stable release.

randallkent’s picture

Status: Active » Needs review

  • Commit 057f07c on 7.x-1.x by RandallKent:
    Issue #2259149 by RandallKent,alansaviolobo: Fix undefined variable...

  • Commit 057f07c on master, 7.x-1.x by RandallKent:
    Issue #2259149 by RandallKent,alansaviolobo: Fix undefined variable...
alansaviolobo’s picture

Status: Needs review » Closed (fixed)