If you place code in an .inc file and use 'file' in the menu definition, ahah_helper throws a stack trace when trying to pass the file to require_once in ahah_helper_render.

As you can see in the code snippet below the test is on the value from ['file'] but the value passed to require_once is passed ['#file'] which doesn't exist.

  if (isset($form_state['storage']['#ahah_helper']['file'])) {
    require_once($form_state['storage']['#ahah_helper']['#file']);
  }

Just remove the hash and things work.

Comments

wulff’s picture

Priority: Critical » Normal
Status: Active » Closed (duplicate)