When I try to add the proximity filter I get a pop-up that announces three errors that look like this:
Error Description:
Warning: Call-time pass-by-reference has been deprecated in /home/content/87/6903487/html/sites/all/modules/openlayers_proximity/views/openlayers_proximity_handler_filter.inc on line 95
Warning: Call-time pass-by-reference has been deprecated in /home/content/87/6903487/html/sites/all/modules/openlayers_proximity/views/openlayers_proximity_handler_filter.inc on line 259
Warning: Call-time pass-by-reference has been deprecated in /home/content/87/6903487/html/sites/all/modules/openlayers_proximity/views/openlayers_proximity_handler_filter.inc on line 259
These lines both have to do with validation. I removed the &'s from the arguments on those two referenced lines and the error went away. Not sure if that's the right way to fix it or not.

Comments

aristeides’s picture

I've got the same problem...

aristeides’s picture

An error occurred at /admin/build/views/ajax/config-item/profiles/block_1/filter/flat.

Error Description:
Warning: Call-time pass-by-reference has been deprecated in /sites/all/modules/openlayers_proximity/views/openlayers_proximity_handler_filter.inc on line 95
Warning: Call-time pass-by-reference has been deprecated in /sites/all/modules/openlayers_proximity/views/openlayers_proximity_handler_filter.inc on line 259
Warning: Call-time pass-by-reference has been deprecated in /sites/all/modules/openlayers_proximity/views/openlayers_proximity_handler_filter.inc on line 259
{ "display": "\x3cform action=\"/admin/build/views/ajax/config-item/profiles/block_1/filter/flat\" accept-charset=\"UTF-8\" method=\"post\" id=\"views-ui-config-item-form\"\x3e\n\x3cdiv\x3e\x3cdiv class=\"views-override clear-block\"\x3e\x3cinput type=\"submit\" name=\"op\" id=\"edit-options-override-button\" value=\"Override\" class=\"form-submit\" /\x3e\n\x3cdiv class=\"description\"\x3eStatus: using default values.\x3c/div\x3e\x3c/div\x3e\x3cdiv class=\"views-expose clear-block\"\x3e\x3cinput type=\"submit\" name=\"op\" id=\"edit-options-expose-button-button\" value=\"Expose\" class=\"form-submit\" /\x3e\n\x3cdiv class=\...en\" value=\"2e99a2f98008a5222e862e71520cdf4e\" /\x3e\n\x3cinput type=\"hidden\" name=\"form_id\" id=\"edit-views-ui-config-item-form\" value=\"views_ui_config_item_form\" /\x3e\n\n\x3c/div\x3e\x3c/form\x3e\n", "title": "Map: Configure filter \x3cem\x3eProximity: Square\x3c/em\x3e", "url": "http://joon.me/admin/build/views/ajax/config-item/profiles/block_1/filte..., "js": { "viewsAjax": { "formRelationships": { "edit-options-value-value": { "num": 1, "values": { "radio:options[operator]": [ "\x3c", "\x3c=", "=", "!=", "\x3e=", "\x3e" ] } }, "edit-options-value-min": { "num": 1, "values": { "radio:options[operator]": [ "between", "not between" ] } }, "edit-options-value-max": { "num": 1, "values": { "radio:options[operator]": [ "between", "not between" ] } }, "edit-options-value-location": { "num": 1, "values": { "radio:options[location_as]": [ "location" ] } }, "edit-options-value-node": { "num": 1, "values": { "radio:options[location_as]": [ "node" ] } } } } }, "hilite": ".views-item-block-1-filter-flat" }

aristeides’s picture

after reading scalp's original post again I deleted the "&" from lines 94,95, 258 and 259 and everything seems to work fine...

chuckbar77’s picture

subscribing

venutip’s picture

Status: Active » Needs review
StatusFileSize
new956 bytes

This is not an error, but a warning about a coding technique that has been deprecated in your version of PHP. The module should work correctly even with the warning, but I've attached a patch that fixes this. Note that the patch was rolled against HEAD. It might work against 6.x-2.x-dev, but if not, post here and I can roll another patch.

venutip’s picture

StatusFileSize
new955 bytes

Wow, can't believe I missed one. Re-roll.

scottrigby’s picture

Status: Needs review » Reviewed & tested by the community

#6 sorts it