nicholas Posted September 15, 2015 at 11:40 PM Share Posted September 15, 2015 at 11:40 PM I am currently getitng this error when using the advanced search module for proximity searching. Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 22 in ../plugins/geomaps.php on line 463 Here is the line from there $controller->passedArgs['url'] = preg_replace('/\/'.$search_address_field._PARAM_CHAR.'[\p{L},-\s0-9]+/ui','',$controller->passedArgs['url']); $controller->passedArgs['url'] = preg_replace('/\/'.$search_address_field._PARAM_CHAR.'[a-z,0-9-\s]+/ui','',$controller->passedArgs['url']); // One above doesn't work well in all cases, but required for non-latin characters in address I am assuming its a small PHP error, but im sub par whe it comes to php. Care to solve this one. Thanks. Link to comment
Alejandro Posted September 16, 2015 at 08:09 PM Share Posted September 16, 2015 at 08:09 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Recommended Posts