Warning: Missing argument 2 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of E:\wamp\www\modules\taxonomy\taxonomy.module).
Warning: Missing argument 3 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of E:\wamp\www\modules\taxonomy\taxonomy.module).
Warning: Missing argument 4 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of E:\wamp\www\modules\taxonomy\taxonomy.module).
Warning: Missing argument 2 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of E:\wamp\www\modules\taxonomy\taxonomy.module).
Warning: Missing argument 3 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of E:\wamp\www\modules\taxonomy\taxonomy.module).
Warning: Missing argument 4 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of E:\wamp\www\modules\taxonomy\taxonomy.module).
Warning: Missing argument 2 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of E:\wamp\www\modules\taxonomy\taxonomy.module).
Warning: Missing argument 3 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of E:\wamp\www\modules\taxonomy\taxonomy.module).
Warning: Missing argument 4 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of E:\wamp\www\modules\taxonomy\taxonomy.module).
Warning: Missing argument 2 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of E:\wamp\www\modules\taxonomy\taxonomy.module).
Warning: Missing argument 3 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of E:\wamp\www\modules\taxonomy\taxonomy.module).
Warning: Missing argument 4 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of E:\wamp\www\modules\taxonomy\taxonomy.module).
Warning: Missing argument 2 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of E:\wamp\www\modules\taxonomy\taxonomy.module).
Warning: Missing argument 3 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of E:\wamp\www\modules\taxonomy\taxonomy.module).
Warning: Missing argument 4 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of E:\wamp\www\modules\taxonomy\taxonomy.module).
Warning: Missing argument 2 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of E:\wamp\www\modules\taxonomy\taxonomy.module).
Warning: Missing argument 3 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of E:\wamp\www\modules\taxonomy\taxonomy.module).
Warning: Missing argument 4 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of E:\wamp\www\modules\taxonomy\taxonomy.module).
Warning: Missing argument 2 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of E:\wamp\www\modules\taxonomy\taxonomy.module).
Warning: Missing argument 3 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of E:\wamp\www\modules\taxonomy\taxonomy.module).
Warning: Missing argument 4 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of E:\wamp\www\modules\taxonomy\taxonomy.module).
Warning: Missing argument 2 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of E:\wamp\www\modules\taxonomy\taxonomy.module).
Warning: Missing argument 3 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of E:\wamp\www\modules\taxonomy\taxonomy.module).
Warning: Missing argument 4 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of E:\wamp\www\modules\taxonomy\taxonomy.module).
Warning: Missing argument 2 for list_options_list() in list_options_list() (line 437 of E:\wamp\www\modules\field\modules\list\list.module).
Warning: Missing argument 3 for list_options_list() in list_options_list() (line 437 of E:\wamp\www\modules\field\modules\list\list.module).
Warning: Missing argument 4 for list_options_list() in list_options_list() (line 437 of E:\wamp\www\modules\field\modules\list\list.module).
Notice: Undefined variable: instance in list_options_list() (line 438 of E:\wamp\www\modules\field\modules\list\list.module).
Notice: Undefined variable: entity_type in list_options_list() (line 438 of E:\wamp\www\modules\field\modules\list\list.module).
Notice: Undefined variable: entity in list_options_list() (line 438 of E:\wamp\www\modules\field\modules\list\list.module).
Warning: Missing argument 2 for list_options_list() in list_options_list() (line 437 of E:\wamp\www\modules\field\modules\list\list.module).
Warning: Missing argument 3 for list_options_list() in list_options_list() (line 437 of E:\wamp\www\modules\field\modules\list\list.module).
Warning: Missing argument 4 for list_options_list() in list_options_list() (line 437 of E:\wamp\www\modules\field\modules\list\list.module).
Notice: Undefined variable: instance in list_options_list() (line 438 of E:\wamp\www\modules\field\modules\list\list.module).
Notice: Undefined variable: entity_type in list_options_list() (line 438 of E:\wamp\www\modules\field\modules\list\list.module).
Notice: Undefined variable: entity in list_options_list() (line 438 of E:\wamp\www\modules\field\modules\list\list.module).
Warning: Missing argument 2 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of E:\wamp\www\modules\taxonomy\taxonomy.module).
Warning: Missing argument 3 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of E:\wamp\www\modules\taxonomy\taxonomy.module).
Warning: Missing argument 4 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of E:\wamp\www\modules\taxonomy\taxonomy.module).
Warning: Missing argument 2 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of E:\wamp\www\modules\taxonomy\taxonomy.module).
Warning: Missing argument 3 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of E:\wamp\www\modules\taxonomy\taxonomy.module).
Warning: Missing argument 4 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of E:\wamp\www\modules\taxonomy\taxonomy.module).

Comments

webchick’s picture

Status: Active » Closed (duplicate)

Dupe of #1541792: Enable dynamic allowed list values function with additional context which is a dupe of... something. There's some contributed module doing this and we're not sure which one. Any info you could provide would be appreciated!

kaizerking’s picture

I have reverted to 7.13. the error gone

nisimjoseph’s picture

hi,

I just also reverted to 7.13 and the errors are gone.
before the error started the only module i installed was Display Suite.
i am getting into it and installed some, like: Views, Admin Menu.

it might help to find the cause.

BeaPower’s picture

I am also getting this error, any fix?

zenlan’s picture

In my case it stems from Search API (7.x-1.0) creating a field definition for any taxonomy term list field:

search_api_views/search_api_views.inc _search_api_views_add_handlers:137

137: if ($options = $wrapper->optionsList('view')) {

when $wrapper->itemType = "taxonomy_term" and $wrapper->type = "list<taxonomy_term>"

This calls "entity_metadata_field_options_list" which invokes "taxonomy_options_list" with an argument array that has only one element.

beanjammin’s picture

I reverted to 7.13, which still includes the security fixes to 7.12. Of course this doesn't fix the issue going forward, but as a temporary solution it fit my needs.

zenlan’s picture

Drupal 7.12

function hook_options_list($field, $instance = NULL) {
...
}

function taxonomy_options_list($field) {
...
}

Drupal 7.14

function hook_options_list($field, $instance, $entity_type, $entity) {
...
}

function taxonomy_options_list($field, $instance, $entity_type, $entity) {
...
}

Reverting the taxonomy_options_list function declaration back to the Drupal 7.12 version has rid me of the warnings without any apparent side effects. This function only uses the $field parameter.

magtak’s picture

Any other non-hacky solution? Maybe a patch to Search API?

gaëlg’s picture

Project: Drupal core » Search API
Version: 7.14 » 7.x-1.x-dev
Component: taxonomy.module » Framework
Status: Closed (duplicate) » Needs work
marcoka’s picture

Status: Needs work » Closed (works as designed)

well, search api depends on entity api, and this has been fixed in the entity api
#1556192: Incorrect invocation of hook_options_list()
if you still get these errors....they could be from any module using taxonomy_options_list. for example multiselect (has been fixed here already).
so this error is NOT caused by search api.