• Resolved msliwka

    (@msliwka)


    Hi, I’m using newest standard Polylang and this plugin with newest Element + Elementor Pro. When i’d like to use different domains for languages it causes critical error like this (e.g. for url )

    Fatal error: Uncaught Error: Call to undefined function ConnectPolylangElementor\pll_get_post() in /home2/p563836/public_html/wp-content/plugins/connect-polylang-elementor/includes/connect-plugins.php:192 Stack trace: #0 /home2/p563836/public_html/wp-includes/class-wp-hook.php(307): ConnectPolylangElementor\ConnectPlugins->template_id_translation(18) #1 /home2/p563836/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters(18, Array) #2 /home2/p563836/public_html/wp-content/plugins/elementor-pro/modules/theme-builder/classes/conditions-manager.php(310): apply_filters('elementor/theme...', 18) #3 /home2/p563836/public_html/wp-content/plugins/elementor-pro/modules/theme-builder/classes/conditions-manager.php(413): ElementorPro\Modules\ThemeBuilder\Classes\Conditions_Manager->get_location_templates('header') #4 /home2/p563836/public_html/wp-content/plugins/elementor-pro/modules/theme-builder/classes/conditions-manager.php(481): ElementorPro\Modules\ThemeBuilder\Classes\Conditions_Manager->get_theme_templates_ids('hea in /home2/p563836/public_html/wp-content/plugins/connect-polylang-elementor/includes/connect-plugins.php on line 192

    I tried to disable all my plugins and this problem still exists.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Pacotole

    (@pacotole)

    Hi, have you solved the problem?

    It seems that in case there are only one language active Polylang does not load some functions and that is why the error occurs.

    I’ll update it with a pre-check to prevent the error from occurring but having more than one language active should not be a problem.

Viewing 1 replies (of 1 total)

The topic ‘Critical Error’ is closed to new replies.