When I add a proximity filter as a contextual filter I get these 2 errors:

Deprecated function: Call-time pass-by-reference has been deprecated in _registry_check_code() (line 3047 of /var/www/****/includes/bootstrap.inc).

Strict warning: Declaration of geofield_proximity_handler_argument::query() should be compatible with that of views_handler_argument::query().....

The second one can be fixed by changing line 56 of 'geofield_proximity_handler_argument.inc'
from
'function query()'
to
'function query($group_by = FALSE)'

Comments

2pha’s picture

Seems I also have no idea how to use these proximity fields.
All I want is to sort based on the proximity to a suburb that the user inputs.
Anyone got any tips on how to accomplish this?

stopshinal’s picture

We're you able to add a proximity filter from the contextual filters area in your view? i'm lost in a similar issue: http://drupal.org/node/1566286

2pha’s picture

I am finding geofield proximity a bit complicated to use and keep getting errors so I have decided to create my own proximity filter for the site I am working on.

Brandonian’s picture

Category: bug » support

Please note that the geofield_proximity module is likely to go away in the near future. Please follow along at #1469956: [Meta] - Improve Views-powered Geofield proximity searches to see the overall status. The latest bit of work is being done at #1561220: Merge geofield_proximity and distance from a point handlers.

Brandonian’s picture

Status: Active » Fixed

These specific issues shouldn't be cropping up anymore. If you experience similar issues, please re-open.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.