This error shows up when enabling Taxonomy_term view.
The view works normally however.

Comments

dawehner’s picture

Can you report whether you have installeThis means basicad some extra modules? Can you reproduce this on a clean drupal with just views installed?

jvieille’s picture

Project: Views (for Drupal 7) » Taxonomy Menu
Version: 6.x-2.8 » 6.x-2.5
Status: Active » Fixed

Found the problem!

I was blank when I submitted the issue, but in the meantime I realized that a warning from enabling a view should be related to its calling.
As I was not doing anything, the culprit should be the Taxonomy Menu: Bingo - I ticked "Select to rebuild the menu on submit" and the warning vanished.

I apologize for the disturbance.
I redirected the issue to the correct :) module - nothing to do with Views

Status: Fixed » Closed (fixed)

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

jdln’s picture

Status: Closed (fixed) » Active

Im having the same problem even if I rebuild my taxonomies. Ive tried deleting all my taxonomies but the problem persists!
Thanks

eL’s picture

Same problem, in DEV version too.

dstol’s picture

Version: 6.x-2.5 » 6.x-2.x-dev
lulyx’s picture

I changed the menu location for my taxonomy menu items, refreshed it and the problem was gone.

eL’s picture

For me, Taxonomy menu works, if it is added to Navigation menu. If added to Primary menu, then this error occurs: warning: Invalid argument supplied for foreach() in C:\wamp\www\test.net\includes\menu.inc on line 743.

EDIT: For me it looks solved. Problem was in DHTML menu, I had to turn it off for Primary menu.

Road Kill’s picture

Version: 6.x-2.x-dev » 6.x-2.7
Category: bug » support
Priority: Normal » Major

Good day I am trying to create and hierarchical select menu with vocabularies using taxonomy menu.
I have done exactly this with the example below however I keep getting this error any ideas maybe I have missed something. I have also tried ver. 2.9 and dev version but the error continues.

warning: Invalid argument supplied for foreach() in C:\wamp\www\ includes\common.inc on line 1647.

Menu Galleries
Vocabulary Galleries
terms Zanzibar Gallery
Mauritius Gallery
South Africa Gallery

Road Kill’s picture

Status: Active » Fixed

Okay I realised that you have to bring in the terms in to the vocabulary before enabling the vocabulary on the menu location. This solved the error:).

Status: Fixed » Closed (fixed)

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

miket3’s picture

Status: Closed (fixed) » Active

I started receiving this message after installing Taxonomy Menu Module. I cleared all caches. I removed all vocabularies.

And Now I am trying to start from scratch creating a new vocabulary. And this warning is displayed as soon as I click on the Add Vocabulary" tab.

rv0’s picture

same issue here

fixed after rebuilding it all manually

thomas1977’s picture

Version: 6.x-2.7 » 6.x-2.9

Hi all. I've encountered the exact same problem - can recreate every time: I install "taxonomy menu" and enable a certain vocabulary in primary links. This leads to "warning: Invalid argument supplied for foreach() in [path]/includes/menu.inc on line 743.". The only way to make this error disappear is to do the following in the DHTML menu module: Under "Menus without DHTML" make sure the "navigation" is ticked. Needless to say this is not what anyone who uses the DHTML menu module wants. It's 100% recreatable on my drupal installation (latest 6.20). Have tried both the 2.9 and 2.x dev version - same issue. Rebuild on submit option doesn't help.

Jimmel’s picture

This was fixed for me once I disabled the DHTML for taxonomy-menu in the DHTML configuations. Any patch available?

artreaktor’s picture

I get same error when managed Primary links menu using drag-n-drop. Error apeared after moving all submenu items from one parent item to another. I think the problem apears when parent menu item lost all sub items. The fix is to add new sub item and then delete it.

leilyrken’s picture

Fixed the same way. Thanks

dstol’s picture

Status: Active » Closed (won't fix)

Closing due to inactivity.