• Resolved blcpaul

    (@blcpaul)


    After I add the widget by the instruction to a theme based on Gutenberg I got the following error:

    Cuando busques ayuda para este problema, es posible que se te pida la siguiente información:
    WordPress versión 5.7
    Tema actual: YITH Proteo Child (versión 1.0.8)
    Plugin actual: Falang multilanguage for WordPress (versión 1.3.9)
    PHP versión 7.4.16

    Detalles del error
    ==================
    Se ha producido un error del tipo E_ERROR en la línea 154 del archivo /homepages/3/d866653636/htdocs/clickandbuilds/WordPress/MyJamL/wp-content/plugins/falang/src/Falang/Core/Language_Switcher.php. Mensaje de error: Uncaught Error: Call to undefined method Falang_Admin::get_translated_url() in /homepages/3/d866653636/htdocs/clickandbuilds/WordPress/MyJamL/wp-content/plugins/falang/src/Falang/Core/Language_Switcher.php:154
    Stack trace:
    #0 /homepages/3/d866653636/htdocs/clickandbuilds/WordPress/MyJamL/wp-content/plugins/falang/src/Falang/Core/Language_Switcher.php(57): Falang\Core\Language_Switcher->get_links(false)
    #1 /homepages/3/d866653636/htdocs/clickandbuilds/WordPress/MyJamL/wp-content/plugins/falang/includes/widgets-language.php(74): Falang\Core\Language_Switcher->display_switcher()
    #2 /homepages/3/d866653636/htdocs/clickandbuilds/WordPress/MyJamL/wp-content/plugins/gutenberg/build/edit-widgets/blocks/legacy-widget.php(95): Falang_Widget_Language_Switcher->widget(Array, NULL)
    #3 /homepages/3/d866653636/htdocs/clickandbuilds/WordPress/MyJamL/wp-content/plugins/gutenberg/lib/compat.php(76): gutenberg_render_block_core_legacy_widget(Array, ”)
    #4 /homepages/3/d866653636/htdocs/clickandbuilds/WordPress/MyJamL/wp-include

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

    (@sbouey)

    Hi,

    What is the widget you add ? The Falang widget ?
    Falang_Admin::get_translated_url() it’s Falang ,
    What is your theme ?
    Stéphane

    Thread Starter blcpaul

    (@blcpaul)

    Thanks for the quick answer. Yes, it was the Falang widget.
    The theme is:

    Tema actual: YITH Proteo Child (versión 1.0.8)

    Link

    Plugin Author sbouey

    (@sbouey)

    Ok i will look at this , nobody get this problem before.
    i write you back but not before monday now.
    but it’s seem most user use the language switcher in menu

    Stéphane

    Plugin Author sbouey

    (@sbouey)

    perhaps you can me a link to your site on my mail , user the faboba.com contact form

    Stéphane

    Thread Starter blcpaul

    (@blcpaul)

    I decided not use that theme and deleted it. So I can′t demonstrate the problem anymore. Sorry. The language switcher of the Falang widget worked without problems but the error message from the 1st post appeared if go to WP -> Appearance -> Widget and the WP′s page with widgets became inaccessible.

    Plugin Author sbouey

    (@sbouey)

    Hi, i put the issue as resolved
    a problem with your template , perhaps due to namespace.
    It’s the first time i see this, and with another template , there are no problem.

    Stéphane

    Thread Starter blcpaul

    (@blcpaul)

    Thanks for your efforts.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Language widget and Gutenberg’ is closed to new replies.