I keep getting this error message everytime I save my Modules page
---
Fatal error: Cannot redeclare taxonomy_term_path() (previously declared in /home/mopupmed/public_html/academos/modules/localizer/system/taxonomy/taxonomy_localizer.module:61) in /home/mopupmed/public_html/academos/modules/taxonomy/taxonomy.module on line 61
---

Any ideas ?
And could this be the reason why The menu translation never shows up? (ie: not able to translate menus)

Thanks

Comments

sun’s picture

Since the new implementation obviously needs some more work I just wanted to let you know that this error won't show up if you disable all modules that depend on (core) taxonomy.module. If you can't wait, you might alter the .info files of those modules and change the dependency taxonomy to taxonomy_localizer (or taxonomy_category if you have category.module installed).

We'll try to provide a patch soon.

Roberto Gerola’s picture

Hi sun.

I'm trying to implementing cache support in a similar way, without patching,
but defining the module to load in variable table : cache_inc name.

But it seems that it doesn't work as expected.

It seems that Drupal try to load all the modules/files and find duplicate functions
definitions.

It seems that a sort of 'internal cache' exists for modules to load, perhaps
something in session.
I've tried to delete cache and sessions but it doesn't help.

sun’s picture

@Roberto: Please do not hijack this issue with an unrelated topic, instead open another one designated to that topic.

Roberto Gerola’s picture

I'm sorry, but i have posted here because I think that the two issues are related.
Two modules / files that define the same functions under Drupal tree and only
one should be considered.

Styles’s picture

Status: Active » Fixed

the good news is that it works now with the last patch

Anonymous’s picture

Status: Fixed » Closed (fixed)