I've been seeing this error:
Strict warning: Declaration of geolocation_proximity_views_handler_field_distance::extra_options_validate() should be compatible with that of views_handler::extra_options_validate() in _registry_check_code() (line 3047 of /Users/-----/Sites/-------/drupal/includes/bootstrap.inc).
Strict warning: Declaration of geolocation_proximity_views_handler_sort_distance::extra_options_validate() should be compatible with that of views_handler::extra_options_validate() in _registry_check_code() (line 3047 of /Users/------/Sites/-------/drupal/includes/bootstrap.inc).
Seems to be this difference:
from views_handlers.inc:
<?php
/**
* Validate the options form.
*/
function extra_options_validate($form, &$form_state) { }
?>
from geolocation_proximity_views_handler_field_distance.inc and geolocation_proximity_views_handler_sort_distance.inc
<?php
/**
* Validate the options form.
*/
function extra_options_validate(&$form, &$form_state) {
$this->latlng_validate($form['location'], $form_state['values']['options']['location']);
}
?>
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | fix_reference_problem-1637704-initial.patch | 679 bytes | AaronA |
Comments
Comment #1
AaronA commentedPatch against tag 7.x-2.0-alpha3.
Comment #2
infines commentedComment #3
derjochenmeyer commentedThanks for this patch: Committed.
Side note: Date module uses the same implementation suggested here in
date/date_views/includes/date_views_filter_handler.inc
Comment #4.0
(not verified) commentedtypo