After upgrading to latest -dev version (2012-01-05) I started seeing the following error.
I report the problem in this queue, as the error goes away if I disable entity_path.

Deprecated function: Call-time pass-by-reference has been deprecated in drupal_load() (line 1114 of /var/www/drupal/includes/bootstrap.inc).

Note that drush pm-update views domain entity_path reported:
proc_open(): fork failed - Cannot allocate memory backend.inc:237
but then I could apply update entity_path 7101 with no apparent problem

Comments

derhasi’s picture

Status: Active » Postponed (maintainer needs more info)

Does commit a1e7067 fix the problem?

skizzo’s picture

Thank you. After applying above commit and clearing caches:
- I do not see anymore the error reported in OP
- I do not see any error visiting terms (redirected via entity_path) of vocabularies assigned to user profile
- I do not see any error visiting most nodes of content type X (not associated with any redirected vocabulary)
- I do see the following error when visiting some nodes of content type X (I would have no problem deleting those nodes)

Error message
EntityMalformedException: Missing bundle property on entity of type taxonomy_term. in entity_extract_ids() (line 7409 of /var/www/drupal/includes/common.inc).
derhasi’s picture

skizzo, this last error looks like you have some taxonomy terms that are associated to a deleted vocabulary. @see http://api.drupal.org/api/drupal/includes--common.inc/function/entity_ex...

Can you verify that?

skizzo’s picture

A separate issue maybe... I don't remember deleting a Vocabulary (which should have deleted all vocabulary's term in anyway). I did delete few 3rd-level terms in a 3 levels hierarchical vocabulary. E.g.: I had node 27 with terms 694 696 698 (3 levels hierarchy) and I then deleted term 698. Now /taxonomy/term/694 and /taxonomy/term/696 will correctly list node-27's teaser, but trying to display the full content as node/27 will result in above error.

[edit] I should underline the fact that the hierarchical vocabulary is not even mentioned in admin/config/content/entity_path

derhasi’s picture

I should underline the fact that the hierarchical vocabulary is not even mentioned in admin/config/content/entity_path

This sounds like your vocabulary is not registered to the entity_info for some reason. So it's no surprise, that it does not work.
You could check the entity info (dpm(entity_get_info()); with devel.module activated on devel/php) and compare it to the entity_info, when entity_path is inactive. If in both cases your vocabulary is missing in the bundles array, there must be an error outside of entity_path.

skizzo’s picture

I am afraid I haven't enough software expertise to investigate the issue. Anyway, I guess my description was not clear: in #4, saying "I should underline the fact that the hierarchical vocabulary is not even mentioned in admin/config/content/entity_path" I meant that I have configured path redirections only for hierarchical taxonomies associated with user profiles (e.g.: vocabulary user_taxonomy). And yet, I get the EntityMalformedException error when visiting (some) nodes whose associated hierarchical taxonomies are not redirected at all (e.g.: vocabulary node_taxonomy). This is not a big issue for me, as I can simply delete those nodes, but i wanted to describe the behaviour in case it says something to you, as a developer. Feel free to close the issue otherwise. Thank you!

derhasi’s picture

Ok ;)

Maybe you could clarify some of your notificiations, so I can see if I did understand you correctly :D But for the moment I've no more ideas;) Anyway, I'll leave this issue open for a while...

derhasi’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)