This error throw out during creating of new node. The widget was using "Geocode from another field". When I go through the code at line 357, $field_wrapper is trying to get the value of geocode from field assigned, which might be empty during node creation.

To avoid this error, it should check the value from field assigned first and return as FALSE if it is empty. Attached the working patch to be tested.

CommentFileSizeAuthor
#2 geocoder-2980858.patch635 bytesparasolx

Comments

parasolx created an issue. See original summary.

parasolx’s picture

StatusFileSize
new635 bytes
parasolx’s picture

Status: Active » Needs review

Kindly to review this patch.

_KurT_’s picture

Seems to be working for me. Need someone else to review.

parasolx’s picture

Status: Needs review » Reviewed & tested by the community

Latest version release 1.4 still got error since this patch is not committed yet. Change the status to RTBC.

aytee’s picture

patch #2 worked for me to remove the error. Thanks for the patch!

jbiechele’s picture

patch #2 worked for me too. Thanks for the patch!

  • Pol committed 928be3b on 7.x-1.x authored by parasolx
    Issue #2980858 by parasolx: Notice: Undefined property: stdClass::$...
pol’s picture

Status: Reviewed & tested by the community » Fixed

Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.