Deprecated function: Call-time pass-by-reference has been deprecated in drupal_load() (line 1114 of /includes/bootstrap.inc).
Drupal 7.10
php 5.3.5
Deprecated function: Call-time pass-by-reference has been deprecated in drupal_load() (line 1114 of /includes/bootstrap.inc).
Drupal 7.10
php 5.3.5
Comments
Comment #1
7wonders commentedThe problem is line 114 of .module. It should be:
$element += file_field_widget_form($form, $form_state, $field, $instance, $langcode, $items, $delta, $element);As per php - Passing values by reference at function call time is a deprecated feature which will be removed from PHP at some point in the near future. The acceptable method for passing a value by reference to a function is by declaring the reference in the functions definition, not at call time.
Comment #2
7wonders commentedCan this change be submitted. Just an annoyance really.
Comment #3
levelos commentedGot it.