Related Issues:

#1806928: D7 Upgrade QA Bug: User Profiles: Php Fatal error at user Dashboard

Problem/Motivation

1. Upgrading to the latest 7x-dev this morning completely nuked my site. [FIXED in comment #5 below]
Fatal error: Call to a member function get_value() on a non-object in /path-to-drupal/sites/all/modules/project_issue/project_issue.module on line 1377

2. When trying to view an issue page, this error occurs:
EntityFieldQueryException: Unknown field: field_release_build_type in EntityFieldQuery->fieldOrderBy() (line 883 of /path-to-drupal/includes/entity.inc).
It has something with a component of project_release; When that module is disabled, everything works as expected.

CommentFileSizeAuthor
#9 Screen Shot 2012-10-23 at 12.17.08 PM.png68.33 KBNoe_

Comments

thermador’s picture

Wait.
Wait.
I disabled the module and re-enabled it and don't have the errors anymore. Somehow?

Yay!

thermador’s picture

Status: Active » Fixed

Marking this "fixed"... I guess... ?

bdragon’s picture

I think I committed slightly corrupt updates on project_issue_user_issues and project_issue_user_projects views a few days ago -- the parameters were not set due to some override glitch. I'll be fixing that today.

thermador’s picture

Status: Fixed » Active

Never mind, it's still all broken. Disabling then re-enabling the module only fixed the "issues" view (http://www.website.com/project/issues/).

When I try to view an issue itself, I get this error:

EntityFieldQueryException: Unknown field: field_release_build_type in EntityFieldQuery->fieldOrderBy() (line 883 of /path-to-drupal/includes/entity.inc).

Any ideas?

It may be related to this issue I posted for Project a while back (similar, since it's EntityFieldQueryException): http://drupal.org/node/1793580

Is this something with field collection maybe?

EDIT: AH-HA!!! It's something with project releases. When I disabled that module, everything is back to normal. I can even run update.php without crashing the site!

So it's a problem with the project release component I'd wager.

bdragon’s picture

senpai’s picture

@thermador, please report if the fix committed in #5 corrects your problem?

Also note that this same commit should have fixed the #1806928: D7 Upgrade QA Bug: User Profiles: Php Fatal error at user Dashboard bug report regarding the Fatal error: Call to a member function get_value() on a non-object in /var/www/git-dev.drupal.org/htdocs/sites/all/modules/project_issue/views/plugins/project_issue_plugin_access_per_user_queue.inc on line 20 error.

senpai’s picture

Priority: Critical » Normal
Status: Active » Needs review
bdragon’s picture

Status: Needs review » Active

Senpai: There is no patch yet for the #4 issue.

Noe_’s picture

StatusFileSize
new68.33 KB

I have the same problem after the oct 23rd update.

It says:

EntityMalformedException: Missing bundle property on entity of type node. in entity_extract_ids() (line 7562 of /home/noe/git/issues/includes/common.inc).

But I get a failed test too, see attachment.

Update:
Nevermind, it was something else that broke it.

dww’s picture

Status: Active » Postponed (maintainer needs more info)

Is this still a bug? I've got a local test site with project, project_release and project_issue all enabled, and I'm not seeing the EntityFieldQueryException anywhere.

Can anyone who's still seeing this bug update the summary with accurate instructions for reliably reproducing this?

Thanks!
-Derek

dww’s picture

Issue summary: View changes

When trying to view an issue page, this error occurs:
EntityFieldQueryException: Unknown field: field_release_build_type in EntityFieldQuery->fieldOrderBy() (line 883 of /path-to-drupal/includes/entity.inc).

drumm’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Closing due to lack of followup. Please re-open with details if needed.