When developing with error_reporting set to E_ALL, this notice breaks the install batch process (since output is sent before the headers)

Notice: Undefined variable: install_state in {PATH}/libraries/profiler/profiler_api.inc on line 25

I don't see any reference to the $install_state variable elsewhere in the code, so I'm not quite sure what the fix would be here.

Comments

redkilian’s picture

I was getting this too. I commented out line 25 in profiler_api.inc and installs appear to continue without errors. I think "install_state" is left over from when profiler had a dependency on the install_profile_api module.

//$files[$install_state['parameters']['profile']]->info['required'] = FALSE;

q0rban’s picture

Status: Active » Fixed

Thanks, this has been fixed in HEAD. It was cruft leftover from testing D7 Implementation.

http://drupal.org/cvs?commit=454496

Status: Fixed » Closed (fixed)

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