Closed (fixed)
Project:
Profiler
Version:
6.x-2.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Oct 2010 at 17:25 UTC
Updated:
6 Dec 2010 at 20:10 UTC
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
Comment #1
redkilian commentedI 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;Comment #2
q0rban commentedThanks, this has been fixed in HEAD. It was cruft leftover from testing D7 Implementation.
http://drupal.org/cvs?commit=454496