Hello,

I've got this message after installing tagging and extractor modules and activates its for one vocabulary :

Fatal error: Cannot redeclare drupalwiki_extractor_extract() (previously declared in /var/www/vhosts/aldeah.org/subdomains/v6/httpdocs/sites/all/modules/tagging/modules/drupalwiki_tagging_suggest/drupalwiki_extractor.inc:12) in /var/www/vhosts/aldeah.org/subdomains/v6/httpdocs/sites/all/modules/tagging/modules/drupalwiki_tagging_suggest/drupalwiki_extractor.inc on line 57

After cheking this files (drupalwiki_tagging_suggest) i don't find the drupalwiki_extractor_extract() function at line 57.

Strange.

JD

Comments

jdotti’s picture

Hi,

I was tired and i paste all the path from my server. How is it posible to modify or erase this issue please ?
Thannks a lot

eugenmayer’s picture

Category: bug » support

Please check the github version of tagging. Bere sure to not have the module installed twice and be sure to not recursivly _upgrade_ the module but rather delete the old folder and move in the new.

malinet’s picture

Hi Eugen,
I followed your advice to download your Github version, because I get same error after preview of story.
But nothing changed. Save a new strory works, but I get same error "Cannot redeclare drupalwiki_extractor_extract() " as described before.
Should be preview work?

Thank you in advance.

juliusvaart’s picture

Do you have multiple taxonomy vocabularies or just one?

I had the problem when i had 3 vocabularies, so i removed two and now it works (well the date field i have is broken but that's another problem...)

malinet’s picture

I am using only one taxonomy vocabulary.
Hope this helps.

alfthecat’s picture

Subscribing... Having the same issue. With only one vocabulary.

eugenmayer’s picture

guys iam very busy ATM. Please consider to debug yourself and dont wait for me here. Thanks

Giotis’s picture

Hi,

I had a similar issue on Drupal Commons 1.6, and my issue seems to have disappeared after disabling the following module:

Drupal Wiki taggin suggestions 6.x-2.5
Suggesting terms for the Tagging-Module based on the current content and a algorythm developed for Drupal Wiki
Depends on: Taxonomy (enabled), Tagging (enabled)

Not having the taggin suggestions is a small price to pay for not having the error messages.
Not sure if this a bug in Drupal.

Did you solve the issue in any other way?
Did the above solution help?

Greetings,

Giotis

clairedesbois@gmail.com’s picture

Hi,

I have the same problem but I can't delete taxonomy. I would resolve the problem without change site's configuration or architecture.

Nobody can help me?

Thank you

clairedesbois@gmail.com’s picture

After test, the module works correctly when, in the file drupalwiki_tagging_suggest.module, I change the line
require 'drupalwiki_extractor.inc';
by
include_once 'drupalwiki_extractor.inc';

Rameez’s picture

Thanks Calystod, was having same issue with multiple Vocabularies. it worked.

sparker888’s picture

I can confirm that Calystod's solution in #10 worked for me. Thanks!

eugenmayer’s picture

Version: 6.x-2.5 » 6.x-3.2

does this still apply for 3.2?