CommentFileSizeAuthor
errormessages taxonomy_menu.png39.35 KBherbiek
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

herbiek’s picture

I've also noticed that the sequence of the 11 lines of error messages are exactly the same every time. Also strange that the productgroup that is referenced twice is not directly repeated but appears later again in the logging (see attachment).

herbiek’s picture

Can somebody with knowledge of this module look in to this? It annoys me more and more that there are so many entries in the log message every time. I still can't find why these messages are appearing.

Even a hint or some suggestions to look at would be useful.

hles’s picture

Status: Active » Fixed

Looking at Taxonomy Menu 1.4 code, it looks like you have i18n installed and you use a translation mode which is not "localized". When the menu is being displayed in your language, it generates these warnings because menu items can't be translated by taxonomy menu if it's not in localized mode.

I edit my message, which is absolutely wrong, I misread some brackets.

Looking at Taxonomy Menu 1.4 code, it looks like you have i18n installed and for unknown reasons taxonomy menu can't find in its database table {taxonomy_menu}, the taxonomy term related to the menu link it's trying to translate. As a consequence it says that in the watchdog, which is fair enough because it probably means you have other problems with taxonomy menu (Taxonomy Menu can't tell which menu link is associated to to which taxonomy term).

herbiek’s picture

Hi Hles,

Thank you for replying. What I understood from your text is that the translations settings for my Taxonomy term "Productgroup" can not be found by the translation module i18n?

I think I will translate this in the future, but right now the settings in for these taxonmy terms is:
Multilingual options
Translation mode
- No multilingual options for terms. Only the vocabulary will be translatable.

So if there is not translation available (or set up), how can this setting cause these messages in my log?

hles’s picture

Status: Fixed » Active

Sorry Herbiek, this not exactly what I meant, I'll try better. When you use i18n_taxonomy, Taxonomy Menu will try to translate all your menu items on the fly, according to the language. In order to do so, it checks the menu item, and try to find the taxonomy term associated to this menu item. If the taxonomy term is found, it is translated, else a warning like yours is thrown. This means there are inconsistencies in your Drupal installation regarding Taxonomy Menu because for several of your menu links, there are no terms associated. This is difficult to tell you why though.

You could try to rebuild the taxonomy menu (don't do that on a production site) and see what happens, this should probably help. Let me know if it fixes anything.

herbiek’s picture

Hi Hles,

Took me some time to rebuild the taxonomy menu (again), but that did not solve the issue, the mentioned messages still appear in the log messages.

I also tried to get an answer via http://drupal.stackexchange.com/questions/51274/taxonomy-menu-how-to-i-g... also. I saw, back then, I already tried to solve this issue by rebuilding the taxonomy menu (without success).

Any other tips to solve my issue are highly appreciated.

chefnelone’s picture

Category: support » bug

Exact the same problem here. @herbiek: did you find a fix for this?

I just created a Vocabulary and set to sync with the Main Menu. When saving the Main menu doesn't show the terms of the vocabulary.

I get this error in the logs: which is fired by the line 1190 of taxonomy_menu.module
Error with menu entry "" in menu "main-menu"

The vocabulary is set to:

Translate. Different terms will be allowed for each language and they can be translated.

herbiek’s picture

No solutions found for this issue yet....

Göran’s picture

Issue summary: View changes

I have same problem!
In my case its a lot of Taxonomy terms, who is translated, and react "fine" when changing site-language. And all translation is checked, without anything missing.
Each time I got this problem I have 9 pages of error message, one error for each taxonomy term.

If I disable the menus who showing the taxonomy terms (in panels setting) - the error message disappear.

Please anyone with Knowles - how can we find a solution on this major problem?
Can somebody please give me some directions?

herbiek’s picture

In our case the messages have disappeared, not because we found a solution but because we do not use the structure anymore of the tags that created a product group menu. Due to translations problems with those taxonomy terms we decided to create a content item named product groups that was easy to translate.

When we removed the old taxonomy terms for these product groups, the error messages also disappeared.

cmseasy’s picture

Bumped again this issue also. No solution yet :-(