Closed (fixed)
Project:
Content Taxonomy
Version:
7.x-1.0-beta1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Dec 2011 at 07:52 UTC
Updated:
8 Dec 2016 at 10:17 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
philsward commentedI can also confirm this same error on an upgrade from D6 -> D7. I too am receiving the error on a node edit, node add and the content type fields term reference edit screen.
ericinwisconsin, did you disable the content_taxonomy module? Or is it still enabled?
In my situation, I disabled, then uninstalled the content_taxonomy module. After disabling it, I began running into this same error, however mine is showing up: "...\taxonomy.module on line 1336" (instead of 1328)
If I re-enable the module, the problem goes away. I tried browsing for everything "content_taxonomy" in the database and deleting it, but this ended up getting rid of my taxonomy fields altogether... (Glad I made a backup before hand...)
From what I can tell, the migration / uninstall process is not properly editing the database to clean the necessary records...
Thoughts?
Comment #2
ericinwisconsin commentedYes, I disabled it, deleted it, reinstalled it, etc. While the content_taxconomy MAY be the issue, I can't seem to correct it with the proper steps.
Comment #3
philsward commentedSo even after re-enabling it, you are still having the error?
One thing I noticed after I migrated was that I had to 1st make the reference of the field, then each node had a "taxonomy extras" with an autocomplete of tags sorted by a coma. I created a view that showed the taxonomy terms of a node as well as the "taxonomy extra" terms for the same node. The view would show that I indeed had terms associated with the new field, however if I went to the node, the taxonomy terms were not set and I had to manually set the terms for each and every node, then delete the taxonomy extra terms. I wasn't able to save a node until I removed the taxonomy extra terms. It gave me an error if I tried to save and the taxonomy upgrade terms were there... (It was a pain in the butt...)
Comment #4
dkingofpa commentedGetting this problem on a new D7 site. Steps to reproduce (at least for me):
My solution:
I decided to use the Taxonomy Term Reference Tree Widget instead.
Comment #5
luksakHaving this problem as well. But I am getting the WSOD everywhere! My site was unusable.
Would the maintainer be so kind and fix this issue?
I had to manually re-enable the module in the database to get my site up and running again...
Comment #6
samsouk commentedSame problem too,
it's an uninstall problem: content_taxonomy doesn't reset the fields settings
this is similar to TAC http://drupal.org/node/1358106
adapted from TAC :
Comment #7
jay-dee-ess commentedSame issue.
Comment #8
kenorb commentedComment #9
philsward commentedThis might help someone: http://drupal.org/node/1208164
Comment #10
kenorb commentedIn my case it was caused by feature module where there was some callback dependency:
and feature didn't have proper dependency (in taxonomy_term_reference field):
Comment #11
blackdog commentedi18n_taxonomy has this in it's i18n_taxonomy.install:
Something similar should probably be included in content taxonomy.
Comment #12
owen barton commentedHere is a patch that implements the above - this approach works for me.
field_update_field() is tricky and uses prior values, so unset() doesn't have any effect - this also explains why even hacking the configuration out of features had no effect.
Note that if you re-enable it, I think you will have to resave the field config to re-insert the callback.
Comment #13
jide commentedThanks Owen, seems to work.
Comment #14
greg boggsWorks for me as well.
Comment #15
mh86 commentedCommitted patch from #12 with two adaptation:
Thanks for the patch and testing!
Comment #17
maxplus commentedThanks Owen,
patch from #12 also helped me out after searching a long time after the reason why I suddenly had a WSOD on node/edit.
When I found out the cause was the disabled Content Taxonomy module, I was really happy to find the solution here!
Comment #18
ChrisValentine commentedGot this error on one of my D7 sites after doing recent updates. Tried clearing all caches using Drush but that made no difference. Turned out that Views UI, Taxonomy Translation and a few other modules had been disabled - re-enabling them and the error vanished.