I'm getting this notice every time I update a record with Location Taxonomize and Addressfield:
Notice: Trying to get property of non-object in _find_term() (line 235 of /var/www/phaidon/sites/all/modules/location_taxonomize/location_taxonomize.module)

Should I be worried?

Comments

goron’s picture

Could you test whether you still get this error with the latest dev version (March 22)? I can't seem to reproduce...

adam_b’s picture

Tried the dev version on a local copy of the database and didn't get the notice. I'll confirm later on the live copy.

adam_b’s picture

Sorry, it's still giving the same message - but with a different line number this time:
Notice: Trying to get property of non-object in _find_term() (line 248 of /var/www/html/sites/all/modules/location_taxonomize/location_taxonomize.module).

noslokire’s picture

I've got the same notice using latest 7.x-2.3+5-dev (2012-Mar-22)

Notice: Trying to get property of non-object in _find_term() (line 248 of /var/www/html/dorksandcorks.com/sites/all/modules/location_taxonomize/location_taxonomize.module).

Also using latest Addressfield module version 7.x-1.x-dev (2011-Dec-12) if that helps.

noslokire’s picture

I notice we are having the same issues with bulk updating, I wonder if this error is in some way connected with that one

#1495742: Problems with large data sets

noslokire’s picture

Patch here seems to have corrected the issue which after reading it, makes total sense #1580296: _find_term searches all vocabularies instead of just the location_taxonomize vocabulary

goron’s picture

Status: Fixed » Closed (fixed)

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