Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.0-rc1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
22 Jul 2008 at 12:41 UTC
Updated:
23 Jul 2008 at 06:17 UTC
Hi,
I notified a php error displayed in views. I play with my developpement site in drupal since 1 month without report some problems, but, when I added some primary links, views module began to show me a php notice.
warning: Invalid argument supplied for foreach() in \sites\all\modules\views\includes\handlers.inc on line 657.
warning: Invalid argument supplied for foreach() in \drupal6\includes\common.inc on line 1489.
When I added my primary links, I choose the quickest way (open 20 firefox tabs and add them very quickly). Maybe I break something by adding them like that (I don't think..) but in fact, I have absolutely no ideas why my views begin to display that problem. It appear on all website pages.
For sure, I cleaned cache, views cache, rebuild menus... the error is still here. I would like to not be obliged to remove all my primary links to see if the error is still here.
Comments
Comment #1
zmove commentedHi,
I found the issue, in fact, the cause was pathauto module.
I had a taxonomy term with name : "For children", as pathauto remove the "for" in the path it gives : taxonomy/term/-children, which is incorrect.
when I link that taxonomy path in my menu, it create the error listed in my first post.