Closed (outdated)
Project:
Drupal core
Version:
7.x-dev
Component:
base system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Aug 2010 at 02:18 UTC
Updated:
28 Nov 2011 at 12:40 UTC
Jump to comment: Most recent
Comments
Comment #1
Dilemma21 commentedComment #2
andypostCan't confirm this bug. Please, provide a steps to reproduce
Comment #3
Dilemma21 commentedI dont know reason why I got this error or steps
Comment #4
damien tournoud commentedComment #5
Dilemma21 commentedFieldException: Attempt to create an instance of field comment_body on bundle comment_node_article that already has an instance of that field. in field_create_instance() (line 674 of C:\wamp\www\drupal7\modules\field\field.crud.inc).
When I disable and enable the comment module, I got this error
Comment #6
coderintherye commentedI've gotten this same error, when attempting to use search. Not sure of the cause or how to reproduce unfortunately. I do know that I deleted an unpublished test comment shortly before this error started occuring. I had also installed and uninstalled the friendconnect module.
The good news is, there is a temporary workaround. Change line 2118 of includes/common.inc from:
if ($options['query']) {
to instead be:
if ($options['query'] && is_array($options['query'])) {
I doubt that is the best long-term fix so not making it a patch, but I'm not sure I understand where the query is coming from without a proper backtrace at the moment, so can't debug it much past this point.
Comment #7
coderintherye commentedChanging title to better reflect problem. I don't think this is necessarily delegated solely to the comment system, cause it is coming from the query portion sent as option to drupal_http_build_query(), most likely from url().
Also changing priority to normal until we can find a path for reproducing this bug.
Also, @5 Unless I am mistaken, yours is a different issue and you should file a new issue report for it.
Comment #8
xjmMarked #1339424: D6 -> D7 upgrade unusable to do broken menu item as duplicate. There's some steps to reproduce in that issue.
Comment #9
Martin.Schwenke commentedAs per #1339424: D6 -> D7 upgrade unusable to do broken menu item, the trigger for the bug was a menu item that didn't get updated from a string to an array by the D6 -> D7 upgrade process.
If other people can confirm that a menu item caused this issue when they saw it, then perhaps this bug should be should be marked as being part of the menu system or menu.module? Given that the site becomes unusable when this happens then I would argue that the priority should be lifted to "major". I had to delete the menu item by hand in MySQL to make it work... although I could have added the workaround in comment #6 to more places, I guess...
Comment #10
fndtn357 commentedI am having this issue - after upgrading from version 6.22 to version 7.9 - when trying to open the link for editing the main menu links.
So far, I do not see this error in other pages I have tried to view yet!
I also see a link for PHP Cross Reference and wonder how best to use this resource to solve my problem.
Any tips would be appreciated.
Comment #11
luksakI am getting this error when trying to enable a theme. I disabled Mobile Tools which I enabled just before and the issue was resolved. Are you using Mobile Tools as well?
Comment #12
fndtn357 commentedNo, I am not using Mobile Tools on this site. But maybe your comment about theme has some merit for me to dig around a bit more in that direction. The other thought I had was it was related to a View somehow.
Comment #13
mohan.kumar commentedya you are correct.