Closed (fixed)
Project:
Entity Translation
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Oct 2010 at 09:56 UTC
Updated:
12 Jun 2014 at 22:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
klonos...still getting this in both D7b2 and latest D7 dev. Any clues?
Comment #2
adjtifrice commentedSame here, also on a clean D7 install; I'm willing to send any additional info you may need to troubleshoot this, or have a look myself if you can point me in the general direction of what causes the problem...
Comment #3
plachI'll give this a look asap.
Comment #4
klonosThanx Francesco.
Comment #5
klonosAny news here? Could this be a php 5.3.x issue?
Comment #6
pcambrasuscribe
Comment #7
plach@klonos:
I'm not able to reproduce the issue, do notices show up after installation? I'm using PHP 5.2 so maybe it's a 5.3 issue, I'll try to verify this when I have the chance.
Comment #8
klonosThanx Francesco. I'll see if I can setup a server with php 5.2 and test too - just to be sure. I just need to find some time.
Comment #9
good_man commentedThis error appears when you enable the taxonomy translation in (admin/config/regional/translation).
Comment #10
WilliamV commentedany updates on this one?
Comment #11
klonosI still didn't manage to make some time to setup a php 5.2 server and test this. I do want to do it, but real life is always catching up. Sorry.
Comment #12
good_man commentedsteps to reproduce:
- clear the cache (especially menu)
- visit the page (admin/config/regional/translation)
as far as I see it taxonomy module doesn't load the access callback & access arguments yet in translation. try printing entity_get_info() and check taxonomy_term -> translation array vs. node -> translation for example, no access keys yet.
I'll try to digg more to find out why taxonomy is not loading it at hook_menu, NOTE that if you print the entity info in hook_init the access keys are loaded.
Comment #13
good_man commentedThis extra check will make sure it won't load it until the callback is there.
Comment #14
good_man commentedcomment on col #80 wrapping, sun doesn't like that :)
Comment #15
jelenex commentedSame problem here on php 5.3, the patch #14 seems to fix it.
Thanks
Comment #16
plachMoving to the Entity Translation queue. Read #902760: Change module name so it can work with Core translation for details.
Comment #17
mattcasey commentedI get index errors enabling either this module or Taxonomy Translation
Comment #18
fietserwinUsing the debugger, on saving the settings of page "admin/config/regional/entity_translation", the function entity_translation_menu() is visited twice:
First time with this stack trace:
variable info:
Second time with this stack trace:
variable info:
So, obviously it is the first pass, that is unexpected and is giving the notices. The menu rebuild seems to be forced by the field_group module. If this module is enabled, the error is consistently reproducable.
Hope this helps.
Comment #19
fietserwinPatch from #14 adapted to match new module name
Comment #20
plachThe attached patch should fix the issue in a more reliable way.
Comment #21
mattcasey commentedNot getting errors anymore after patch in #20 :)
Comment #22
plachComment #23
plachCommitted to HEAD.
Comment #25
pcambraHi
When installing from an install profile I get the same errors than the original post but in line 174 when the site has been installed, at the last screen that says Visit your new site.
No error at any other place.
Comment #26
klonos...which install profile do you use Pedro?
Comment #27
pcambraIt is a custom one that enables entity translation by default
Comment #28
plachPlease, we really need to know how to reproduce this.
Comment #29
plachClosing the issue. Feel free to reopen if you can provide the steps to reproduce it.
Comment #30
donquixote commentedCan you guys check this issue?
#1341314-5: Nested call of entity_get_info() due to menu_get_router() in entity_translation_entity_info_alter()