if ($form_state['values']['subdomain_mode'] != $form['subdomain_mode']['#default_value']) {
means
if ($form_state['values']['subdomain_mode'] != $form['mode']['subdomain_mode']['#default_value']) {
?

Comments

bartezz’s picture

Status: Active » Needs review

Bug confirmed! Proposed change above tested and solves issue (sorry can't create a patch currently)

Cheers

ionut.stan’s picture

Hello,
I ran into the same issue and I made the following change into the module:

On line 221 I added ['mode'] in front of ['subdomain_mode']['#default_value'] ... It seems that the array has one more dimension...

if ($form_state['values']['subdomain_mode'] != $form['mode']['subdomain_mode']['#default_value']) {

After this the error was gone...

Happy Drupal-ing :)

seehive’s picture

Issue summary: View changes

its working like magic :)

gopivignesh.m’s picture

StatusFileSize
new706 bytes

Have created patch for this issue.

ohthehugemanatee’s picture

Status: Needs review » Closed (duplicate)

This exact solution was committed in #1346858: Found 2 errors in the 7.x.-2.x-dev version. Closing as duplicate.