Call to undefined function update_get_available() in /var/www/html/drupal-6.6/sites/all/modules/plugin_manager/plugin_manager.admin.inc on line 716

Is reported in the apache error log anytime I try to access /admin/plugin_manager/update, with or without a referrer set in the http request

CommentFileSizeAuthor
#5 341761-update-dependency.patch448 bytesboombatower

Comments

beckden’s picture

Plugin Manager has a dependency on Update Status Core module. If you turn on this module the error disappears.

dave reid’s picture

Version: 6.x-1.4 » 6.x-1.x-dev

There's not actually any dependency in the .info file for the update module. Maybe it should be added?

dave reid’s picture

Title: Fatal Error in update » Update module dependency
merlinofchaos’s picture

Title: Update module dependency » Update module dependency not in .info file

Updating title a little more. I ran into this myself, this should be an easy fix.

boombatower’s picture

Assigned: Unassigned » boombatower
Status: Active » Needs review
StatusFileSize
new448 bytes

Patch attached.

boombatower’s picture

Status: Needs review » Reviewed & tested by the community

I think this is simple enough I can mark it RTBC myself.

dave reid’s picture

I approve as well boombatower. :)

Anonymous’s picture

Status: Reviewed & tested by the community » Fixed

And committed! Thanks for the patch!

Status: Fixed » Closed (fixed)

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