Closed (fixed)
Project:
GMap Module
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Aug 2006 at 02:45 UTC
Updated:
18 Sep 2007 at 01:52 UTC
After enabling gmap_location.module on a PHP5 server, I get an error like this:
"Cannot use object of type stdClass as array" in gmap_location.module line 570.
This appears to be the same problem as in http://drupal.org/node/73031. In this case, the $edit array on lines 570 and 571 is only defined in the validate, insert and update cases. The fix is to create $object only during those three cases.
| Comment | File | Size | Author |
|---|---|---|---|
| gmap_location.patch.txt | 810 bytes | Parksy |
Comments
Comment #1
bdragon commentedCommitted to DRUPAL-4-7 and DRUPAL-4-7--2.
Comment #2
(not verified) commented