When clearing the cache, gmap_regenerate_markers() tries to access $file->fid even if file_save_data() fails. I didn't have the right permissions on my files folder so it couldn't save the file, so the variable $file was set to false.

Comments

logaritmisk’s picture

StatusFileSize
new865 bytes

Created a patch that will set a error message if gmap_regenerate_markers fails to save the file.

giorgosk’s picture

I marked this as duplicate because other issue newer but has more followers
#1414196: Notice: Trying to get property of non-object in gmap_regenerate_markers() (line 555 in ...)

giorgosk’s picture

Status: Active » Closed (duplicate)

oops did not mark duplicate