Closed (fixed)
Project:
Location
Version:
4.6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Sep 2005 at 18:41 UTC
Updated:
2 Nov 2005 at 19:20 UTC
When I edit a node after clicking submit, I get the error below
warning: Invalid argument supplied for foreach() in /home/simplex/public_html/dp/modules/location/location.inc on line 420.
warning: Cannot modify header information - headers already sent by (output started at /home/dp/includes/common.inc:384) in /home/dp/includes/common.inc on line 192.
any ideas why it occurs?
Comments
Comment #1
bluecobalt commentedI'm getting the same error. Any ideas anyone?
Comment #2
bluecobalt commentedbump
Comment #3
ankur commentedI heard of this error from someone else but could not reproduce it. Do you have a particular city/state/postal combo that you use when you get this error? Are you using a particular module (blog, event, page, etc) when you get this error?
I need some more info on this bug so I can reproduce it and track it down. If you can, please ping back on here.
-Ankur
Comment #4
seanbfuller commentedI'm getting this error on page nodes and story nodes. Both have locations disabled for the node type. I have event nodes that use locations (set up through flexinode) and those do not seem to be giving me the error, although I can't confirm it.
Comment #5
ac4lt commentedI'm seeing this happen also on drupal 4.6.3 (actually civicspace 0.8.2 rc5).
When I edit a story node and submit it, I get the same pair of errors. The location module was only enabled for events and not other types of nodes. Disabling the location module eliminates the error. If there's any further information or assistance I can provide in debugging this, let me know.
Comment #6
ankur commentedA fix has been applied to DRUPAL-4-6 and HEAD.
No database updates. The only affected file is locationl.inc.
To see what changed, please consult:
http://cvs.drupal.org/viewcvs/drupal/contributions/modules/location/loca...
Comment #7
ac4lt commentedYes, that seems to solve the problem I was seeing!
Comment #8
(not verified) commented