• Resolved uppermarketing

    (@uppermarketing)


    Hello,

    It seems there is an error with the new Polylang update (3.7). It is not compatible with Connect Polylang for Elementor. As soon as I update the Polylang plugin to 3.7, the website pops out. If I deactivate the Connect Polylang for Elementor plugin, it does work. But when I re-activate the Connect Polylang for Elementor plugin, it only works with Polylang version 3.6.7. How to fix this?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Sébastien SERRE

    (@sebastienserre)

    Hello,

    Thank you for reporting us an issue.

    I’ve just tried Elementor + Connect Polylang for Elementor but I do not reproduce any error.

    No errors are reported on https://wordpress.org/support/plugin/connect-polylang-elementor/

    What “The website pops out” means ?
    Do you have any error message ?

    Regards

    Töm

    (@toem)

    I have the same issue.

    Connect Polylang for Elementor 2.4.6 and Ploylang 3.6.7 works

    Connect Polylang for Elementor 2.4.6 and Ploylang 3.7 works not. WordPress shows only the “There has been a critical error on this website.”-Screen instead of the website. The Admin-Area is still working.

    Plugin Contributor Sébastien SERRE

    (@sebastienserre)

    Hello
    Would you please enable WordPress debug, reproduce the error and share the debug.log ?

    Regards

    Hello,

    the error message:

    Fatal error: Uncaught Error: Call to undefined method PLL_Language::get_flag_informations() in /wp-content/plugins/connect-polylang-elementor/includes/widgets/polylang-language-switcher.php:785 Stack trace: #0 /wp-content/plugins/elementor/includes/base/controls-stack.php(2374): ConnectPolylangElementor\Widgets\PolylangLanguageSwitcher->render() #1 /wp-content/plugins/elementor/includes/base/widget-base.php(636): Elementor\Controls_Stack->render_by_mode() #2 /wp-content/plugins/elementor/includes/base/widget-base.php(774): Elementor\Widget_Base->render_content() #3 /wp-content/plugins/elementor/includes/base/element-base.php(482): Elementor\Widget_Base->print_content() #4 /wp-content/plugins/elementor/modules/element-cache/module.php(74): Elementor\Element_Base->print_element() #5 /wp-includes/shortcodes.php(434): Elementor\Modules\ElementCache\Module->Elementor\Modules\ElementCache{closure}() #6 [internal function]: do_shortcode_tag() #7 /wp-includes/shortcodes.php(273): preg_replace_callback() #8 /wp-content/plugins/elementor/core/base/document.php(1867): do_shortcode() #9 /wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php(412): Elementor\Core\Base\Document->print_elements() #10 /wp-content/plugins/elementor/includes/frontend.php(1203): ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document->print_elements_with_wrapper() #11 /wp-content/plugins/elementor/core/base/document.php(1250): Elementor\Frontend->get_builder_content() #12 /wp-content/plugins/elementor/modules/library/documents/library-document.php(76): Elementor\Core\Base\Document->get_content() #13 /wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php(158): Elementor\Modules\Library\Documents\Library_Document->get_content() #14 /wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php(173): ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document->get_content() #15 /wp-content/plugins/elementor-pro/modules/theme-builder/classes/locations-manager.php(436): ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document->print_content() #16 /wp-content/plugins/elementor-pro/modules/theme-builder/api.php(13): ElementorPro\Modules\ThemeBuilder\Classes\Locations_Manager->do_location() #17 /wp-content/themes/hello-elementor/header.php(34): elementor_theme_do_location() #18 /wp-includes/template.php(810): require_once('/homepages/43/d…') #19 /wp-includes/template.php(745): load_template() #20 /wp-includes/general-template.php(48): locate_template() #21 /wp-content/themes/hello-elementor/index.php(14): get_header() #22 /wp-includes/template-loader.php(106): include('/homepages/43/d…') #23 /wp-blog-header.php(19): require_once('/homepages/43/d…') #24 /index.php(17): require('/homepages/43/d…') #25 {main} thrown in /wp-content/plugins/connect-polylang-elementor/includes/widgets/polylang-language-switcher.php on line 785

    Regards

    Plugin Contributor Sébastien SERRE

    (@sebastienserre)

    Hello,
    This error is located in Connect Polylang for Elementor which is a third party plugin.
    You should contact their support to report this issue at https://wordpress.org/support/plugin/connect-polylang-elementor/

    Hello,

    I’ve found a difference in the language.php in /includes:

    Polylang 3.6.7:

    public static function get_flag_informations( $code ) {

    Ploylang 3.7:

    public static function get_flag_information( $code ) {

    And that call is the undefined method in the error message.

    Thread Starter uppermarketing

    (@uppermarketing)

    Hello,

    Is there any update regarding this issue? I still can’t update Polylang because of this…

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.