Closed (fixed)
Project:
Path redirect
Version:
6.x-1.0-beta4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Nov 2009 at 23:41 UTC
Updated:
11 Dec 2009 at 06:00 UTC
warning: Invalid argument supplied for foreach() in .../sites/all/modules/path_redirect/path_redirect.module on line 314.
I get this error when I visit a view page + argument. It's strange because line 314 is in the middle of path_redirect_delete, and I don't see why that function should be called on all page loads. Putting an if is_array($where) before the foreach made the error stop appearing, but I don't think that's the actual problem here.
Would love another set of eyes on this.
Comments
Comment #1
dave reidThat's odd. Can you test with the latest 6.x-1.x code or determine where that code is being called from?
Comment #2
dave reidI can't duplicate this, so marking as fixed.