编程语言
首页 > 编程语言> > php-Geocoder无法与“来自其他字段的Geocode”一起使用

php-Geocoder无法与“来自其他字段的Geocode”一起使用

作者:互联网

我正在尝试使Geocoder正常工作,但是遇到以下问题:
我安装了Geocoder 7.x-1.2,并希望将其与另一个字段(位置7.x-3.0-rc2)中的内容一起使用.我安装了Leaflet尝试显示我的节点.创建新节点时,不再填充Geofield(无论我尝试使用哪个地址,它都保持空白).我安装了地址字段7.x-1.0-beta4而不是位置,但是相同的问题仍然存在.

创建新节点时,这是我收到的错误消息:

Undefined index: default_value in geofield_field_presave() (line 281 of /var/www/html/drupal/sites/all/modules/contr/geofield/geofield.module) 
Notice: Undefined index: geom in geofield_field_presave() (line 293 of /var/www/html/drupal/sites/all/modules/contr/geofield/geofield.module). 

是否存在会导致地址解析失败的常见问题?如果没有,是否有程序可以尝试调试此程序?

解决方法:

可以通过安装其他版本的geofield模块Geofield 7.x-2.0-beta1(不要使用7.x-2.x-dev版本)来解决此问题.

标签:drupal,drupal-7,php
来源: https://codeday.me/bug/20191122/2063698.html