Hi,

When I try to access to /admin/config/regional/translate/update
or,
when I active l10n_update, I have the following error :

Fatal error: Call to undefined function update_get_available() in sites/all/modules/l10n_update/l10n_update.project.inc on line 47

Website run on 1and1 shared hosting. But this module run fine before update to Drupal 7.15 (from 7.14).

What should I do ? Any tips ?

Comments

infinito’s picture

Have you enabled "Update manager" under Modules?

infinito’s picture

I've tried on Drupal 7.16 - Both with update module enabled and disabled. Can't reproduce.

The function called is found withing the core update module, but it is only called if module is enabled.

It could be a corrupt system table in your database, which has marked the module as enabled but it hasnt been properly initialized.

Try to disable and enable the update manager module and see if its helps.

sutharsan’s picture

Status: Active » Closed (cannot reproduce)

Closing the issue as infinito could not reproduce the issue.

crevillo’s picture

Hi. I've just ran into this same issue. I was given a project that need some updates and found this error trying drush up. It was a 6.22 version btw.
It happened that the site had Update Notifications Disable module enabled. This module does a (imho) dirty thing adding a update.module file. At the end what it does is kinda override core module to make this core module do nothing at all. It makes it even not appear on the module list.

To make the thing work again what i did was

  • Delete the update_notifications_disable entry in the system table
  • Delete the module from the modules folder
  • Enable the update module again

Hope it may help somebody.