Hi there, can someone help me with this issue? Every time I try to install Entity Form module i get this fatal error.
Fatal error: Call to undefined method stdClass::uri() in /home/theveryl/public_html/kings/sites/all/modules/entity/entity.module on line 945

Right now, there is OG and salesforce suite installed.

Thanks

nico

CommentFileSizeAuthor
#6 entityform-uri_callback-1570108.patch501 bytesaaronbauman

Comments

tedbow’s picture

Assigned: nicodv » Unassigned

Try disabling those modules and see if there error still happens.
Also what version of Entity API are you using?

nicodv’s picture

Thanks for the response. The problem was caused by salesforce_entity.module. I applied a patch and the site started behaving normally... I didn´t try again with entityforms though... I´ll install it again.

Thanks again

eme’s picture

What type of patch did you apply ?

nicodv’s picture

I think it was this one, related to salesforce entity module http://drupal.org/files/undefined-index-path-1570384-1.patch

tedbow’s picture

Status: Active » Closed (works as designed)

Closing as this seems to be problem with another module, this issue #1570384: Notice: Undefined index: path in sf_entity_menu()

aaronbauman’s picture

Category: support » bug
Status: Closed (works as designed) » Needs review
StatusFileSize
new501 bytes

The problem is entityform_entity_info() setting the uri callback incorrectly.
One-line patch attached to point hook_entity_info at the correct uri callback, entityform_uri().

tedbow’s picture

Status: Needs review » Closed (fixed)

Committed in 7.x-1.x and 7.x-2.x

Thanks much!

tedbow’s picture

Issue summary: View changes

mudule for module