• i followed your documentation to add a new language and as a widget with language switcher it basically works for me but for some reason the default menu completely drops. i reassigned it in the customizer and in appearance->menus but it won’t appear anymore. What do i miss? I even tried to translate some menu items and they are also published. But still no menu appears. I am using Blocksy Theme!

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author sbouey

    (@sbouey)

    Hi, i don’t know this Blocksy Theme can you make me some screencapture of the menu configuration and falang translation of menu ? what language do you use ? It’s work for the default language ? do you use slug for default language ?

    Stéphane

    Thread Starter nicmare

    (@nicmare)

    Blocksy is a popular theme .

    but i deactivated Falang for a second and reactivated it again and resaved permalinks and now menu appears again although i did no changes. Hopefully it is solved…

    Thread Starter nicmare

    (@nicmare)

    but i recorded several error messages in debug.log :

    [18-Feb-2023 11:31:44 UTC] PHP Warning:  Undefined array key "rtl" in /Volumes/eSSD/_htdocs/mybricks2023/wp-content/plugins/falang/includes/class-falang-activator.php on line 160
    [18-Feb-2023 11:31:44 UTC] PHP Warning:  Undefined array key "position" in /Volumes/eSSD/_htdocs/mybricks2023/wp-content/plugins/falang/includes/class-falang-activator.php on line 170
    [18-Feb-2023 11:35:02 UTC] PHP Warning:  foreach() argument must be of type array|object, bool given in /Volumes/eSSD/_htdocs/mybricks2023/wp-content/themes/blocksy-child/functions.php on line 679
    [18-Feb-2023 11:38:04 UTC] PHP Deprecated:  Required parameter $args follows optional parameter $depth in /Volumes/eSSD/_htdocs/mybricks2023/wp-content/plugins/falang/src/Falang/Core/Walker_Dropdown.php on line 54
    [18-Feb-2023 11:38:04 UTC] PHP Deprecated:  Required parameter $output follows optional parameter $depth in /Volumes/eSSD/_htdocs/mybricks2023/wp-content/plugins/falang/src/Falang/Core/Walker_Dropdown.php on line 54
    [18-Feb-2023 11:43:10 UTC] PHP Warning:  Undefined array key "display_flags" in /Volumes/eSSD/_htdocs/mybricks2023/wp-content/plugins/falang/includes/widgets-language.php on line 162
    [18-Feb-2023 11:43:13 UTC] PHP Warning:  Undefined array key "display_flags" in /Volumes/eSSD/_htdocs/mybricks2023/wp-content/plugins/falang/includes/widgets-language.php on line 162
    [18-Feb-2023 11:43:20 UTC] PHP Warning:  Undefined array key "hide_current" in /Volumes/eSSD/_htdocs/mybricks2023/wp-content/plugins/falang/includes/widgets-language.php on line 164
    [18-Feb-2023 11:44:02 UTC] PHP Warning:  Undefined array key "hide_current" in /Volumes/eSSD/_htdocs/mybricks2023/wp-content/plugins/falang/includes/widgets-language.php on line 164
    [18-Feb-2023 11:44:05 UTC] PHP Warning:  Undefined array key "hide_current" in /Volumes/eSSD/_htdocs/mybricks2023/wp-content/plugins/falang/includes/widgets-language.php on line 164
    [19-Feb-2023 10:40:02 UTC] PHP Warning:  Undefined variable $target_code_iso in /Volumes/eSSD/_htdocs/mybricks2023/wp-content/plugins/falang/admin/views/falang_option_translation_page.php on line 111
    [19-Feb-2023 10:40:06 UTC] PHP Warning:  Undefined variable $target_code_iso in /Volumes/eSSD/_htdocs/mybricks2023/wp-content/plugins/falang/admin/views/falang_option_translation_page.php on line 111
    
    Plugin Author sbouey

    (@sbouey)

    I’m trying it actually , i don’t see this error , it’s seem a problem in the language system, did you install another multilanguage plugin on this site before ?

    Thread Starter nicmare

    (@nicmare)

    yes gave polylang a try before but uninstalled it as described in documentation with constant variable in wp-config

    Plugin Author sbouey

    (@sbouey)

    This is probably why you have this problem , i have already see this problem, Polylang seem not not remove completly the languages in the term tables and this make problem with falang after. Falang use the same system for language definition

    Thread Starter nicmare

    (@nicmare)

    okay. the site is almost empty. so i will try to reset the database and install falang again.

    Thread Starter nicmare

    (@nicmare)

    and i finally found out what causes menu disappearing. its your language switcher for some reason?!

    Plugin Author sbouey

    (@sbouey)

    Ok , i leave you respond and close the thread

    Plugin Author sbouey

    (@sbouey)

    Here is the link of my test site on tastewp https://bumpysilk.s2-tastewp.com/

    the language switcher is like you in the menu but i don’t see this problem

    Thread Starter nicmare

    (@nicmare)

    yes its somehow strange. when i filter the items through “wp_nav_menu_objects” the array is completely empty. if i remove the language switcher, menu reappears. i use php 8 for your information

    Plugin Author sbouey

    (@sbouey)

    Perhaps you need to have a look with a clean site , it’ seem there are problem with old polylang entries in database.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Menu disappeared after Falang is activated’ is closed to new replies.