Closed (duplicate)
Project:
OpenLayers Geocoder
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Aug 2011 at 21:06 UTC
Updated:
22 Jul 2012 at 20:12 UTC
Jump to comment: Most recent file
Comments
Comment #1
brunorios1 commentedsame here
Comment #2
xamanu commentedI can confirm this error.
Comment #3
endrus commentedI can also confirm.
Comment #4
endrus commentedThis error is only present in the -dev version of Geocoder. To fix this, I rolled back to alpha5 and then applied the patches which resolved other bugs (for instance, this one - http://drupal.org/node/1074436#comment-4540882). Now I have a working version of Geocoder without errors on node submit. Attached is the final result. Please, use with care and for testing only!
Comment #5
steinmb commentedIt is geocoder cause this and I also get:
warning: preg_match() expects parameter 2 to be string, array given in /var/www/includes/bootstrap.inc on line 895With backtrace on:
Any of you that sees this got location/i18n or just changed the default language to non English?
Comment #6
open social commentedfound the reason why the bug shows.
in the function "openlayers_geocoder_widget" in openlayers_geocoder.module
comment out: unset($field['widget']['description']);
The error is than gone!
Comment #7
steinmb commentedThis duplicate of #1096642: Undefined index 'description', error in drupal_validate_utf8()
Comment #8
steinmb commentedComment #8.0
steinmb commentedClarified that the other content type is without Openlayers Geocoder fields.