Closed (cannot reproduce)
Project:
Entity Path
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Jan 2012 at 23:27 UTC
Updated:
8 Oct 2012 at 11:57 UTC
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
Comment #1
derhasi commentedDoes commit a1e7067 fix the problem?
Comment #2
skizzo commentedThank 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)
Comment #3
derhasi commentedskizzo, 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?
Comment #4
skizzo commentedA 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
Comment #5
derhasi commentedThis 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.Comment #6
skizzo commentedI 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!
Comment #7
derhasi commentedOk ;)
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...
Comment #8
derhasi commented