WPIntell

Source evidence

Problem with Polylang 3.7

Connect Polylang for Elementor · support · 2025-04-28T20:05:00+00:00

mixedsentiment
highseverity
0.88relevance
2replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

9 / 51 rows with source links

17.6% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

42 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
Töm resolved
Hi, 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. And this error message comes up in wordpress debug mode: 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 I’ve reported this error also in the ploylang support area: https://wordpress.org/support/topic/fatal-error-with-polylang/#post-18440069 Regards 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. Fixed in CPEL v 2.4.7 (thanks to @narinder9 , here )

Comments

2 shown
Töm 2025-04-29T07:34:00+00:00

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.

Pacotole 2025-07-09T14:57:00+00:00

Fixed in CPEL v 2.4.7 (thanks to @narinder9 , here )