The warnings are:

* warning: Invalid argument supplied for foreach() in /var/www/vhosts/epworthpulpit.com/httpdocs/sites/all/modules/views/includes/handlers.inc on line 784.
* warning: Invalid argument supplied for foreach() in /var/www/vhosts/epworthpulpit.com/httpdocs/includes/common.inc on line 1499.

Comments

garga’s picture

the same problem, but with create possibly any node...

merlinofchaos’s picture

Status: Active » Postponed (maintainer needs more info)

I can't duplicate this. Without being able to make this happen I can't tell what's causing the error.

Renee S’s picture

It happens to me when I enable "Allow multiple terms per argument" when I'm writing custom PHP to provide an argument to a taxonomy term in my view. But just the first error message, not the second, so who knows if it's related to the poster's original issue.

UPDATE: Turns out I was passing it shitty data. It didn't like empties - eg: ",,10,9"

giorgosk’s picture

Warnings are not related to pathauto as these issues suggest
http://drupal.org/node/285762
http://drupal.org/node/302427

deleted all URLs and cleaned cache on a test site but warnings still appear on EVERY page view

I discovered though that deleting some terms that I had included in the menu system
(admin/build/menu-customize/primary-links) made the warnings dissapear
but I can't draw a conclusion

just noting this down (still needs more info)

scottrigby’s picture

Version: 6.x-2.0-rc5 » 6.x-2.1
Status: Postponed (maintainer needs more info) » Active

Hi merlinofchaos,

I just ran into this same error(s) for the first time. I noticed it happened when I have a taxonomy term that includes a colon. I think I can reproduce it.

Here are my steps (though I don't know if some of these are irrelevant):
* Made a taxonomy term called 'Example'.
* Set pathauto to generate taxonomy terms based on [catpath-raw].
* Added the taxonomy path as a menu item (Path is 'example' and Menu link title is 'Example').
* Then changed the taxonomy term to 'Example : something'.
* Went to the menu admin screen and attempted to change the menu item to reflect (changed Menu link title to 'Example : something').
* Notice the errors show on the menu admin screen after saving the item.

Strangely when I first noticed this, I saw the errors repeat twice. Now I see them 3 times.

The site I tested this on is running Drupal 6.6, Views 6.x-2.1, and (if applicable) Pathauto 6.x-1.1
(I realize I need to update this, but I thought I'd pass along my findings before doing that).

boykomail’s picture

Hi!
If you have Taxonomy Menu module follow this steps for all your vocabulary - Disable menu, next use "Select to rebuild the menu on submit." option. The error disapear...

saurabh.bhambry’s picture

hey thanks .. boykomail.. ur steps worked like a charm was able to get rid of the warnings.

saurabh.bhambry’s picture

Also , I faced this issue when I enabled the Taxonomy_term view. Thats when I started seeing the warnings.. In fact the moment I disabled it .. the warnings disappeared. However I needed to use this view .. hence followed the steps mentioned by @boykomail and was able to get rid of the warnings.
Wanted to mention the cause... just in case it helps finding a permanent solution to the problem.

esmerel’s picture

Assigned: Unassigned » esmerel

This should be replicatable given the steps in 5; assigning to myself to test.

esmerel’s picture

Status: Active » Fixed

In looking at this again, the original problem was when simply enabling the view itself. This appears to no longer be a problem (I can't replicate it), and the stuff in #5 was also against a version old enough that it's likely either something specific to that install, or no longer an issue

Status: Fixed » Closed (fixed)

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