When viewing the home page with no path argument, q isn't set which generates this error:

Notice: Undefined index: q in strongarm_init()

Attached patch checks if q is defined before trying to use it.

Comments

arithmetric’s picture

Status: Active » Needs review
StatusFileSize
new671 bytes

The above patch changes how Strongarm works, because if $_REQUEST['q'] is not set, then $_GET['q'] doesn't get set to an empty value. If you're using Strongarm to change the site's front page variable, then you need $_GET['q'] to be set to an empty value for drupal_init_path().

Attached is a slight modification of the patch so that if $_REQUEST['q'] is not set, then $_GET['q'] is set to null.

msonnabaum’s picture

Works for me.

wik’s picture

subscribing

nasa51’s picture

StatusFileSize
new614 bytes

Apply patch from module directory

yhahn’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.