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

aidanlis’s picture

Do you by chance have the patchdoq module installed?

ClearXS’s picture

Yes & 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.

aidanlis’s picture

Status: Active » Needs work

patchdoq 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.

aidanlis’s picture

Status: Needs work » Fixed

Fixed in VCS.

Status: Fixed » Closed (fixed)

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