Hi guys,

Hoping someone can help as I have searched and searched and can't seem to find a solution to this -

I have a new Drupal installation and have added Views (6.x-2.0-rc1) but now I get these errors once it's active:

* warning: Invalid argument supplied for foreach() in C:\wamp\www\drupal\modules\views\includes\handlers.inc on line 657.
* warning: Invalid argument supplied for foreach() in C:\wamp\www\drupal\includes\common.inc on line 1499.
* warning: Invalid argument supplied for foreach() in C:\wamp\www\drupal\modules\views\includes\handlers.inc on line 657.
* warning: Invalid argument supplied for foreach() in C:\wamp\www\drupal\includes\common.inc on line 1499.
* warning: Invalid argument supplied for foreach() in C:\wamp\www\drupal\modules\views\includes\handlers.inc on line 657.
* warning: Invalid argument supplied for foreach() in C:\wamp\www\drupal\includes\common.inc on line 1499.
* warning: Invalid argument supplied for foreach() in C:\wamp\www\drupal\modules\views\includes\handlers.inc on line 657.
* warning: Invalid argument supplied for foreach() in C:\wamp\www\drupal\includes\common.inc on line 1499.
* warning: Invalid argument supplied for foreach() in C:\wamp\www\drupal\modules\views\includes\handlers.inc on line 657.
* warning: Invalid argument supplied for foreach() in C:\wamp\www\drupal\includes\common.inc on line 1499.
* warning: Invalid argument supplied for foreach() in C:\wamp\www\drupal\modules\views\includes\handlers.inc on line 657.
* warning: Invalid argument supplied for foreach() in C:\wamp\www\drupal\includes\common.inc on line 1499.
* warning: Invalid argument supplied for foreach() in C:\wamp\www\drupal\modules\views\includes\handlers.inc on line 657.
* warning: Invalid argument supplied for foreach() in C:\wamp\www\drupal\includes\common.inc on line 1499.

I cannot find anything about this anywhere, does anyone know what this means or how to fix it?

Help would be appreciated!

Comments

lwilson78’s picture

I have just discovered that the problem is with the:

Default Node view: taxonomy_term (default)

As when I disable that, the errors go away.

MGN’s picture

I had the same problem and discovered that I had a lot of bad url aliases (using pathauto) associated with taxonomy/vocabulary terms. I had aliases of the form (alias) taxonomy/term/xxx -> (system) taxonomy/term (where xxx is any number). Deleting all of the aliases associated with vocabularies and terms fixed the problem. I hope this helps....

alanBrookland’s picture

Thanks,

I had the exact same problem with taxonomy/term/6 -> taxonomy/term

I wonder how they're being created, is it a PathAuto bug?

sudeepg’s picture

Thanks !!! This was helpful :)

Sudeep Goyal,
Ebizon NetInfo Pvt. Ltd.
Delhi, India
http://ebizontek.com
Ph: +91120 4546843
Email: info@ebizontek.com
skype id : sudeep.goyal