I have node Review with node reference of Story tale.
On Review there are fivestar when editing of references node.
When I try to show review after editing I got this error

PHP Fatal error:  Call to undefined function entity_get_all_property_info() in .../modules/fivestar/includes/fivestar.field.inc on line 557

Comments

stano.lacko’s picture

Status: Active » Closed (won't fix)

Hope fixed

brycesenz’s picture

Priority: Critical » Major
Status: Closed (won't fix) » Needs review

Sorry, but I was getting this error as well, and "Hope fixed" was not helpful.

In reality, this module has a dependency on the Entity API module (http://drupal.org/project/entity), but that dependency is not made explicit in the code. Hence, this error will result if you aren't using Entity API, and then break the site.

The fix is that Fivestar just needs to list the Entity API module as a dependency.

elvin - albania drupal developer’s picture

I confirm this behavior. This was driving me nuts on a client site i was building. The authors need to DECLARE this DEPENDENCY!

Thanks a lot brycesenz!

userofdrupal’s picture

Thanks brycesenz, I was getting this issue too and installing the Entity API module fixed it.

ericduran’s picture

Priority: Major » Critical

Yea, this is an actual bug. This code got in by mistake. I have another issue that discusses this further.

Anonymous’s picture

If you are running into this issue, please test the patch at http://drupal.org/node/1386402#comment-5444120

coloryan’s picture

Confirmed - the patch in #6 fixed my error. Thanks linclark.

ericduran’s picture

Status: Needs review » Closed (duplicate)

Duplicate of the issue linclark mention :)