• Resolved Stefano Tondi

    (@webmas2c)


    Hi.
    It’s a new installation with elementor free and polylang with no languages inserted, all themes+plugins latest versions.

    When I activate “Polylang Connect for Elementor” the backend continue to work, but in frontend I get only an error page with:

    “Fatal error: Call to undefined function pll_languages_list() in /home/mhd-01/www.mysitename.com/htdocs/sviluppo/wp-content/plugins/connect-polylang-elementor/modules/finder/plugin-polylang.php on line 77
    Si è verificato un errore critico sul tuo sito web.”

    If I deactivate the Connector plugin -> everything works fine.
    If I activate the plugin and add 1 language in Polylang all works.

    Maybe the problem is in an empty return from a function in plugin php code when no language is selected in Polylang.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Brad Johnson

    (@p4fbradjohnson)

    You need to have languages setup. At least 1 language.

    We have had the same issue here as well. Maybe print out an alert when no languages are set up?

    Plugin Author Brad Johnson

    (@p4fbradjohnson)

    @photogenic and @webmas2c

    You MUST have a language installed when using Polylang, it’s a language plugin after all ??

    I do think it would be a great idea that Polylang prints a warning that a language should be installed.

    But if we can do the same thing, then it’s an extra “feature”. Thanks for the suggestion. I am sure that may solve a few frustrations for Polylang Users.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘New installation error: undefined function pll_languages_list()’ is closed to new replies.