How do I debug this error message?

BruceDawson's picture

I saw this message in the log, and I can't figure what is producing it or when. Any ideas on how to trace this down? (As far as I know, the site is working - except for the stuff I'm working on.)

Is there a better place to put questions like this?

AttachmentSize
Screenshot.png59.89 KB

Comments

Ah Ha! It happens on log out.

BruceDawson's picture

Sure would be nice if it would tell me what view/node/something is causing the message. A stack-trace like message would be most helpful.

Need more context cause this

Perignon's picture

Need more context cause this is but is not a drupal error. It's MySQL bitching at you cause there isn't the filed entity_id in {node} table.

Possible related issue

eporama's picture

http://drupal.org/node/1770504

This one might be fairly similar.

When I encounter these, I

Bob Newby's picture

When I encounter these, I start by Googling, in this case, the phrase:

drupal PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'node.entity_id'

Then I sift through the project-specific issues in the search results until I find the one in question. (This time it's the very first one.)

On rare occasion I cannot find a match, so I submit an issue report to the project that appears to be involved (assuming I can pinpoint one).

Then I turn around 3 times with my legs crossed and hope it's nothing to worry about.

New Hampshire

Group categories

Regional Audience

Group events

Add to calendar

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week