It looks like this line is where you introduce the "FB_SETTINGS_TYPE_PROFILE)" function, I don't see it elsewhere in the fb.module file. My upgrade simply fails with a fatal error "Fatal error: Call to undefined function fb_settings() in..."

Did I miss a config step where I should have added this function somewhere? I was working on the previous release no problem. Worked great.

This is the snippet that contains line 598:

function fb_is_tab() {
  global $_fb;
  if (fb_settings(FB_SETTINGS_TYPE) == FB_SETTINGS_TYPE_PROFILE) {
    return TRUE;
  }
  elseif (isset($_REQUEST['fb_sig_in_profile_tab']) &&
          $_REQUEST['fb_sig_in_profile_tab']) {
    // Old way, no migrations enabled.
    return TRUE;
  }
  return FALSE;

Comments

Dave Cohen’s picture

Status: Active » Closed (duplicate)
Issue tags: -Fatal error: Call to undefined function

#1011912: undefined function fb_settings() when running update.php or installed from an install profile.

It would be helpful if someone could tell me which update hook is running when this happens.