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

dave reid’s picture

Status: Active » Postponed (maintainer needs more info)

That's odd. Can you test with the latest 6.x-1.x code or determine where that code is being called from?

dave reid’s picture

Status: Postponed (maintainer needs more info) » Fixed

I can't duplicate this, so marking as fixed.

Status: Fixed » Closed (fixed)

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