hello,
same http://drupal.org/node/1559172 but in taxonomy module.
Warning: Missing argument 2 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of xxx//www/modules/taxonomy/taxonomy.module).
Warning: Missing argument 3 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of xxx/www/modules/taxonomy/taxonomy.module).
Warning: Missing argument 4 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of xxx//www/modules/taxonomy/taxonomy.module).
Warning: Missing argument 2 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of xxx//www/modules/taxonomy/taxonomy.module).
Warning: Missing argument 3 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of xxx//www/modules/taxonomy/taxonomy.module).
Warning: Missing argument 4 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of xxx//www/modules/taxonomy/taxonomy.module).
Warning: Missing argument 2 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of xxx//www/modules/taxonomy/taxonomy.module).
Warning: Missing argument 3 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of xxx//www/modules/taxonomy/taxonomy.module).
Warning: Missing argument 4 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of xxx//www/modules/taxonomy/taxonomy.module).
Warning: Missing argument 2 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of xxx//www/modules/taxonomy/taxonomy.module).
Warning: Missing argument 3 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of xxx//www/modules/taxonomy/taxonomy.module).
Warning: Missing argument 4 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of xxx//www/modules/taxonomy/taxonomy.module).
Comment | File | Size | Author |
---|---|---|---|
#2 | drupal-core-taxonomy-list-warning-1559410-1.patch | 656 bytes | kitkat13 |
Comments
Comment #1
marcingy CreditAttribution: marcingy commentedPlease provide information of how to recreate this bug on a clean install of drupal core
Comment #2
kitkat13 CreditAttribution: kitkat13 commentedA little patch ?
Comment #3
kitkat13 CreditAttribution: kitkat13 commentedI have a lot of feature with taxonomy_vocabulary in .install and / or in .taxonomy.inc.
I will be back with provide information of how to recreate this bug on a clean install of drupal core soon.
Comment #4
rbruhn CreditAttribution: rbruhn commentedAs posted by tecjam here http://drupal.org/node/1559258#comment-5950820 too.
Edit: There are other modules calling these hooks. For one, Entity Reference: function entityreference_options_list()
The change in api function hook_options_list($field, $instance = NULL) to function hook_options_list($field, $instance, $entity_type, $entity) needs to be implemented in modules calling this hook, or set default values.
Comment #5
marcingy CreditAttribution: marcingy commentedSo in effect the API has changed between 7.12 and 7.14 is what you are saying.
Comment #6
marcingy CreditAttribution: marcingy commentedThis is going to need to be fixed in d8 first and back ported if indeed it is an API issue - rasing priority to get some more eyes on this.
Comment #7
webchickThis was caused by #1541792: Enable dynamic allowed list values function with additional context, and we're going to fix it over there. Closing this as a duplicate.
Comment #8
BTMash CreditAttribution: BTMash commentedWe have to check if this is first an issue in D8 to begin with - from the other issue, I was able to resolve the issue by resaving the field. So if that is the case here as well, then it shouldn't be an issue in D8. So I'm changing the version to 8.x so one of us can see if this issue is coming up or not.
Comment #9
BTMash CreditAttribution: BTMash commentedSorry, didn't see the response from @webchick
Comment #10
chx CreditAttribution: chx commentedNope, we need to know what calls taxonomy_options_list directly. That's a hook implementation not a public API.
Comment #11
semiaddict CreditAttribution: semiaddict commentedI've managed to trace the call on my installation back to entity_metadata_field_options_list on line 445 in entity/modules/callbacks.inc (part of the entity module).
It seems to be getting fixed in #1556192: Incorrect invocation of hook_options_list().
Comment #12
dwwSo, the problem in entity API is already fixed. Core's doing nothing wrong here. I'm not sure what having this separate issue open is good for. Closing as duplicate of the other two (linked from #7 and #11).
Thanks,
-Derek
Comment #12.0
dwwdelete project name