Closed (fixed)
Project:
Patch manager
Version:
6.x-1.2
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Oct 2010 at 12:05 UTC
Updated:
3 May 2011 at 13:01 UTC
Strange, the actualization was some time ago and can't recall I have seen this error before today.
But now I see it on the front page after updating and installing some other modules that are not in the dependency list of this project.
After reloading the front page, this error disappears.
Nevertheless; an issue here for the developer to take note of & decide if something can be bettered that might hang under some circumstances (like processing the very huge module list I have), has to be filed elsewhere, or works as designed.
341 * Run a patch operation
342 */
343 function patch_manager_patch($node, $flags = '') {
344
345 // Pull the values from the node
346 $patchfile = $node->field_patch[0]['filepath'];
347 $module = $node->field_module[0]['value'];
348
349 // Get the path from which to apply this patch
...
Comments
Comment #1
aidanlis commentedDo you by chance have the patchdoq module installed?
Comment #2
ClearXS commentedYes & that one is giving error messages too!
"Fatal error: Cannot use object of type stdClass as array in patchdoq.module on line 100"
Strange enough only on the basic /admin page, not on some other admin pages.
issue: http://drupal.org/node/935818
Anyway, so many modules in my installation, had forgotten this issue: Merge features from the patchdoq module; Patchdoq doesn't seem maintained.
=> uninstalled Patchdoq, what also implied that the depending Cron Key had to be uninstalled.
Comment #3
aidanlis commentedpatchdoq implements hook_patch() and there's an unfortunately named function in patch_manager, this is why the error happens. I'll rename the function, as I imagine I'll probably want to implement hook_patch() at some point.
Comment #4
aidanlis commentedFixed in VCS.