Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Chouby

    (@chouby)

    If you go to Languages->Menus and click on save changes, does the Notice disappear ?

    Thread Starter tubak

    (@tubak)

    Unfortunatly not! I have set-up two languages, so I tried to create two different menus, and put for each language unique menu, and also I tried to put the same menu for each language, but the same error it’s always visible.
    And I have another question. I created a page called Dobrodoslica, and then translated into Wellcome, so now I have two different pages (ID) but both of those pages are in the main header menu! Shouldn’t there be only one link in the menu, or I have to create different main menu for each language? Thanks in advance.

    Plugin Author Chouby

    (@chouby)

    For the notice, I believe that I understood what happens. It should occur only when you setup a custom menu widget. Here is a quick fix which should solve the issue. Edit include/core.php and replace line 527:

    return $menu_lang[$args->theme_location]['switcher'] ?

    by:

    return isset($menu_lang[$args->theme_location]['switcher']) && $menu_lang[$args->theme_location]['switcher'] ?

    For the menu, I did not see any welcome entry… However you have to create one menu for each language and for each location. Then you assign menu to languages and lacations in the languages->menus admin panel.

    Thread Starter tubak

    (@tubak)

    That did the trick! And thanks for the clearing things up regarding the menus!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Polylang] Undefined index Error’ is closed to new replies.