By tecjam on
Hi there,
I just upgraded my site from 7.12 to 7.14 and when running update.php I receive a huge long list of php warnings and notices for the list and taxonomy modules:
Warning: Missing argument 2 for taxonomy_options_list() in taxonomy_options_list() (Zeile 1375 von /home/www-data/xxxxxxxx.com/modules/taxonomy/taxonomy.module).
Warning: Missing argument 3 for taxonomy_options_list() in taxonomy_options_list() (Zeile 1375 von /home/www-data/xxxxxxxx.com/modules/taxonomy/taxonomy.module).
Warning: Missing argument 4 for taxonomy_options_list() in taxonomy_options_list() (Zeile 1375 von /home/www-data/xxxxxxxx.com/modules/taxonomy/taxonomy.module).
Warning: Missing argument 2 for list_options_list() in list_options_list() (Zeile 437 von /home/www-data/xxxxxxxx.com/modules/field/modules/list/list.module).
Warning: Missing argument 3 for list_options_list() in list_options_list() (Zeile 437 von /home/www-data/xxxxxxxx.com/modules/field/modules/list/list.module).
Warning: Missing argument 4 for list_options_list() in list_options_list() (Zeile 437 von /home/www-data/xxxxxxxx.com/modules/field/modules/list/list.module).
Notice: Undefined variable: instance in list_options_list() (Zeile 438 von /home/www-data/xxxxxxxx.com/modules/field/modules/list/list.module).
Notice: Undefined variable: entity_type in list_options_list() (Zeile 438 von /home/www-data/xxxxxxxx.com/modules/field/modules/list/list.module).
Notice: Undefined variable: entity in list_options_list() (Zeile 438 von /home/www-data/xxxxxxxx.com/modules/field/modules/list/list.module).
Warning: Missing argument 2 for taxonomy_options_list() in taxonomy_options_list() (Zeile 1375 von /home/www-data/xxxxxxxx.com/modules/taxonomy/taxonomy.module).
Warning: Missing argument 3 for taxonomy_options_list() in taxonomy_options_list() (Zeile 1375 von /home/www-data/xxxxxxxx.com/modules/taxonomy/taxonomy.module).
Warning: Missing argument 4 for taxonomy_options_list() in taxonomy_options_list() (Zeile 1375 von /home/www-data/xxxxxxxx.com/modules/taxonomy/taxonomy.module).
Warning: Missing argument 2 for taxonomy_options_list() in taxonomy_options_list() (Zeile 1375 von /home/www-data/xxxxxxxx.com/modules/taxonomy/taxonomy.module).
Warning: Missing argument 3 for taxonomy_options_list() in taxonomy_options_list() (Zeile 1375 von /home/www-data/xxxxxxxx.com/modules/taxonomy/taxonomy.module).
Warning: Missing argument 4 for taxonomy_options_list() in taxonomy_options_list() (Zeile 1375 von /home/www-data/xxxxxxxx.com/modules/taxonomy/taxonomy.module).
Warning: Missing argument 2 for taxonomy_options_list() in taxonomy_options_list() (Zeile 1375 von /home/www-data/xxxxxxxx.com/modules/taxonomy/taxonomy.module).
Warning: Missing argument 3 for taxonomy_options_list() in taxonomy_options_list() (Zeile 1375 von /home/www-data/xxxxxxxx.com/modules/taxonomy/taxonomy.module).
Warning: Missing argument 4 for taxonomy_options_list() in taxonomy_options_list() (Zeile 1375 von /home/www-data/xxxxxxxx.com/modules/taxonomy/taxonomy.module).
Warning: Missing argument 2 for taxonomy_options_list() in taxonomy_options_list() (Zeile 1375 von /home/www-data/xxxxxxxx.com/modules/taxonomy/taxonomy.module).
Warning: Missing argument 3 for taxonomy_options_list() in taxonomy_options_list() (Zeile 1375 von /home/www-data/xxxxxxxx.com/modules/taxonomy/taxonomy.module).
Warning: Missing argument 4 for taxonomy_options_list() in taxonomy_options_list() (Zeile 1375 von /home/www-data/xxxxxxxx.com/modules/taxonomy/taxonomy.module).
Warning: Missing argument 2 for taxonomy_options_list() in taxonomy_options_list() (Zeile 1375 von /home/www-data/xxxxxxxx.com/modules/taxonomy/taxonomy.module).
Warning: Missing argument 3 for taxonomy_options_list() in taxonomy_options_list() (Zeile 1375 von /home/www-data/xxxxxxxx.com/modules/taxonomy/taxonomy.module).
Warning: Missing argument 4 for taxonomy_options_list() in taxonomy_options_list() (Zeile 1375 von /home/www-data/xxxxxxxx.com/modules/taxonomy/taxonomy.module).
Warning: Missing argument 2 for taxonomy_options_list() in taxonomy_options_list() (Zeile 1375 von /home/www-data/xxxxxxxx.com/modules/taxonomy/taxonomy.module).
Warning: Missing argument 3 for taxonomy_options_list() in taxonomy_options_list() (Zeile 1375 von /home/www-data/xxxxxxxx.com/modules/taxonomy/taxonomy.module).
Warning: Missing argument 4 for taxonomy_options_list() in taxonomy_options_list() (Zeile 1375 von /home/www-data/xxxxxxxx.com/modules/taxonomy/taxonomy.module).
Warning: Missing argument 2 for taxonomy_options_list() in taxonomy_options_list() (Zeile 1375 von /home/www-data/xxxxxxxx.com/modules/taxonomy/taxonomy.module).
Warning: Missing argument 3 for taxonomy_options_list() in taxonomy_options_list() (Zeile 1375 von /home/www-data/xxxxxxxx.com/modules/taxonomy/taxonomy.module).
Warning: Missing argument 4 for taxonomy_options_list() in taxonomy_options_list() (Zeile 1375 von /home/www-data/xxxxxxxx.com/modules/taxonomy/taxonomy.module).
Warning: Missing argument 2 for taxonomy_options_list() in taxonomy_options_list() (Zeile 1375 von /home/www-data/xxxxxxxx.com/modules/taxonomy/taxonomy.module).
Warning: Missing argument 3 for taxonomy_options_list() in taxonomy_options_list() (Zeile 1375 von /home/www-data/xxxxxxxx.com/modules/taxonomy/taxonomy.module).
Warning: Missing argument 4 for taxonomy_options_list() in taxonomy_options_list() (Zeile 1375 von /home/www-data/xxxxxxxx.com/modules/taxonomy/taxonomy.module).
Warning: Missing argument 2 for list_options_list() in list_options_list() (Zeile 437 von /home/www-data/xxxxxxxx.com/modules/field/modules/list/list.module).
Warning: Missing argument 3 for list_options_list() in list_options_list() (Zeile 437 von /home/www-data/xxxxxxxx.com/modules/field/modules/list/list.module).
Warning: Missing argument 4 for list_options_list() in list_options_list() (Zeile 437 von /home/www-data/xxxxxxxx.com/modules/field/modules/list/list.module).
Notice: Undefined variable: instance in list_options_list() (Zeile 438 von /home/www-data/xxxxxxxx.com/modules/field/modules/list/list.module).
Notice: Undefined variable: entity_type in list_options_list() (Zeile 438 von /home/www-data/xxxxxxxx.com/modules/field/modules/list/list.module).
Notice: Undefined variable: entity in list_options_list() (Zeile 438 von /home/www-data/xxxxxxxx.com/modules/field/modules/list/list.module).
Warning: Missing argument 2 for taxonomy_options_list() in taxonomy_options_list() (Zeile 1375 von /home/www-data/xxxxxxxx.com/modules/taxonomy/taxonomy.module).
Warning: Missing argument 3 for taxonomy_options_list() in taxonomy_options_list() (Zeile 1375 von /home/www-data/xxxxxxxx.com/modules/taxonomy/taxonomy.module).
Warning: Missing argument 4 for taxonomy_options_list() in taxonomy_options_list() (Zeile 1375 von /home/www-data/xxxxxxxx.com/modules/taxonomy/taxonomy.module).
Warning: Missing argument 2 for list_options_list() in list_options_list() (Zeile 437 von /home/www-data/xxxxxxxx.com/modules/field/modules/list/list.module).
Warning: Missing argument 3 for list_options_list() in list_options_list() (Zeile 437 von /home/www-data/xxxxxxxx.com/modules/field/modules/list/list.module).
Warning: Missing argument 4 for list_options_list() in list_options_list() (Zeile 437 von /home/www-data/xxxxxxxx.com/modules/field/modules/list/list.module).
Notice: Undefined variable: instance in list_options_list() (Zeile 438 von /home/www-data/xxxxxxxx.com/modules/field/modules/list/list.module).
Notice: Undefined variable: entity_type in list_options_list() (Zeile 438 von /home/www-data/xxxxxxxx.com/modules/field/modules/list/list.module).
Notice: Undefined variable: entity in list_options_list() (Zeile 438 von /home/www-data/xxxxxxxx.com/modules/field/modules/list/list.module).
Warning: Missing argument 2 for taxonomy_options_list() in taxonomy_options_list() (Zeile 1375 von /home/www-data/xxxxxxxx.com/modules/taxonomy/taxonomy.module).
Warning: Missing argument 3 for taxonomy_options_list() in taxonomy_options_list() (Zeile 1375 von /home/www-data/xxxxxxxx.com/modules/taxonomy/taxonomy.module).
Warning: Missing argument 4 for taxonomy_options_list() in taxonomy_options_list() (Zeile 1375 von /home/www-data/xxxxxxxx.com/modules/taxonomy/taxonomy.module).
Warning: Missing argument 2 for list_options_list() in list_options_list() (Zeile 437 von /home/www-data/xxxxxxxx.com/modules/field/modules/list/list.module).
Warning: Missing argument 3 for list_options_list() in list_options_list() (Zeile 437 von /home/www-data/xxxxxxxx.com/modules/field/modules/list/list.module).
Warning: Missing argument 4 for list_options_list() in list_options_list() (Zeile 437 von /home/www-data/xxxxxxxx.com/modules/field/modules/list/list.module).
Notice: Undefined variable: instance in list_options_list() (Zeile 438 von /home/www-data/xxxxxxxx.com/modules/field/modules/list/list.module).
Notice: Undefined variable: entity_type in list_options_list() (Zeile 438 von /home/www-data/xxxxxxxx.com/modules/field/modules/list/list.module).
Notice: Undefined variable: entity in list_options_list() (Zeile 438 von /home/www-data/xxxxxxxx.com/modules/field/modules/list/list.module).
Warning: Missing argument 2 for taxonomy_options_list() in taxonomy_options_list() (Zeile 1375 von /home/www-data/xxxxxxxx.com/modules/taxonomy/taxonomy.module).
Warning: Missing argument 3 for taxonomy_options_list() in taxonomy_options_list() (Zeile 1375 von /home/www-data/xxxxxxxx.com/modules/taxonomy/taxonomy.module).
Warning: Missing argument 4 for taxonomy_options_list() in taxonomy_options_list() (Zeile 1375 von /home/www-data/xxxxxxxx.com/modules/taxonomy/taxonomy.module).
Warning: Missing argument 2 for list_options_list() in list_options_list() (Zeile 437 von /home/www-data/xxxxxxxx.com/modules/field/modules/list/list.module).
Warning: Missing argument 3 for list_options_list() in list_options_list() (Zeile 437 von /home/www-data/xxxxxxxx.com/modules/field/modules/list/list.module).
Warning: Missing argument 4 for list_options_list() in list_options_list() (Zeile 437 von /home/www-data/xxxxxxxx.com/modules/field/modules/list/list.module).
Notice: Undefined variable: instance in list_options_list() (Zeile 438 von /home/www-data/xxxxxxxx.com/modules/field/modules/list/list.module).
Notice: Undefined variable: entity_type in list_options_list() (Zeile 438 von /home/www-data/xxxxxxxx.com/modules/field/modules/list/list.module).
Notice: Undefined variable: entity in list_options_list() (Zeile 438 von /home/www-data/xxxxxxxx.com/modules/field/modules/list/list.module).
Warning: Missing argument 2 for taxonomy_options_list() in taxonomy_options_list() (Zeile 1375 von /home/www-data/xxxxxxxx.com/modules/taxonomy/taxonomy.module).
Warning: Missing argument 3 for taxonomy_options_list() in taxonomy_options_list() (Zeile 1375 von /home/www-data/xxxxxxxx.com/modules/taxonomy/taxonomy.module).
Warning: Missing argument 4 for taxonomy_options_list() in taxonomy_options_list() (Zeile 1375 von /home/www-data/xxxxxxxx.com/modules/taxonomy/taxonomy.module).
Warning: Missing argument 2 for list_options_list() in list_options_list() (Zeile 437 von /home/www-data/xxxxxxxx.com/modules/field/modules/list/list.module).
Warning: Missing argument 3 for list_options_list() in list_options_list() (Zeile 437 von /home/www-data/xxxxxxxx.com/modules/field/modules/list/list.module).
Warning: Missing argument 4 for list_options_list() in list_options_list() (Zeile 437 von /home/www-data/xxxxxxxx.com/modules/field/modules/list/list.module).
Notice: Undefined variable: instance in list_options_list() (Zeile 438 von /home/www-data/xxxxxxxx.com/modules/field/modules/list/list.module).
Notice: Undefined variable: entity_type in list_options_list() (Zeile 438 von /home/www-data/xxxxxxxx.com/modules/field/modules/list/list.module).
Notice: Undefined variable: entity in list_options_list() (Zeile 438 von /home/www-data/xxxxxxxx.com/modules/field/modules/list/list.module).
Taxonomy function that causes errors:
/**
* Implements hook_options_list().
*/
function taxonomy_options_list($field, $instance, $entity_type, $entity) {
$function = !empty($field['settings']['options_list_callback']) ? $field['settings']['options_list_callback'] : 'taxonomy_allowed_values';
return $function($field);
}Field List Module:
/**
* Implements hook_options_list().
*/
function list_options_list($field, $instance, $entity_type, $entity) {
return list_allowed_values($field, $instance, $entity_type, $entity);
}Seems that since the update the hook_options_list function now takes 3 more parameters:
$instance, $entity_type, $entity
Previously there was only one parameter, namely $field.
http://api.drupal.org/api/drupal/modules!field!modules!options!options.a...
So far I have not noticed these notices anywhere else on the site. Is it my setup that is causing this?
Comments
So far I have not noticed
Actually I am lying. It is filling up my dblog reports extremely fast (50 pages fo far in less than 10 minutes and counting).
Has anyone else notices anything like this?
So my solution was to
So my solution was to temporarily roll back those 2 functions to the d.7.12 versions - and alas the warnings and notices have vanished.
Just until someone comes up with a fix.
Just updated a second site
Just updated a second site with a different setup / modules / content to d7.14 and have the exact same error messages again!
This has been reported here:
This has been reported here: http://drupal.org/node/1559410
I have the same problem
I think I'm not gonna update
I think I'm not gonna update my site by the moment. I don't understand why there isn't an easier update to drupal core same as other drupal module. Automatic installation is needed.
Ow - this could have been worse
Thank goodness for 1) checking an update on a dev-site FIRST ... and 2) automatic backups for said dev-site to recover from!
@Webchick - Will there be a wrap up of the current floating around patches (once peer reviewed) for a 7.15 release?