The documentation claims that
" Fill in these fields with your CB user address fields. Fields are not mandatory"
But this is wrong in our case.
If you do not give a field name for the
State you get the following error:
Code:
Fatal Error: Cannot access empty property in components/com_comprofiler/plugin/user/plug_geommunitygeocoder/geommunitygeocoder.php on line 31
State is relevant only for certain countries and irrelevant for others.
Having already so many fields, we deleted the
state field. Hence the error.
To avoid this, in this particular case, line 31 should read
Code:
if (isset($geoData->$state)) $this->state = $geoData->$state;
(and, in fact, the same for the other properties)