After trying to use title module with entity translate to translate the core fields of taxonomy I get this error

The website encountered an unexpected error. Please try again later.

I traced it in watch dog, and the error message was :

DatabaseSchemaObjectExistsException: Table <em class="placeholder">field_data_name_field</em> already exists. in DatabaseSchema->createTable()

am I missing something or is it only me geting this bug, I traced it the module code and the problem was occured in title_field_replacement_toggle() function and it's like the module trying to create a module which already exists, I used all the version for this module and it happend in all of them.

Comments

plach’s picture

Title: Bug in replace taxonomy name and description fields. » Error field_data_name_field already exists
Category: bug » support
Status: Active » Fixed

You probably tried the Title module a couple of times without properly uninstalling it. Remove any instance of the name_field field (or manually drop the db tables and try again).

artofeclipse’s picture

That's what I did and it worked for me, thanks for help.

Status: Fixed » Closed (fixed)

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

dparvanova’s picture

Issue summary: View changes

I am having the same problem.

I manually removed 'field_data_name_field' and 'field_data_description_field' tables. Cleared all caches but still get this error. Then did:
drush dis title
drush pmu title
drush cc all
dursh en title

but the error still appears...

mcdoolz’s picture

If you've removed the tables above and the error is still occurring, check your logs and you should find that there are revisions tables as well (eg: field_revision_name_field).

Drop those respective tables as well.