Hello @matija80
Sorry for the issues. This is on local correct?
I am running the plugin with the latest versions of Elementor and Pro as well as Polylang and the Polylang connect plugin. I am not having these issues. Also, I have not had any other reports at this point in time with this issue?
Is there a possibility to test it on the same environment as your live sites? Like on a staging site?
@matija80
Thanks for your feedback and the detailed error message.
We currently have various function checks in place and normally an error like this cannot happen if the conditions are met:
– Polylang installed (or Polylang Pro)
– Elementor installed
So my question is, if during this update you made Polylang or Polylang Pro was active?
And, second question, did you made the update manually by copying files/folders maybe?
The error was triggered by the new WP 5.2 Site Health feature — and this new system triggers error messages even if a required file is not there for a fraction of a second or millisecond.
In plain English: if the update happened manually or was “slow” so that – required – files were not there for a fraction of a second then the error gets triggered. In all cases the site should still be accessable, though and there is no real error.
I experienced the exact same scenario since WP 5.2 on a lot of installs, locally and online. But not yet, with our Connect plugin.
This all said, I will check this again in our plugin if the checks are still correct. If there would be any need to make tweaks we will make those, of course.
Thread Starter
Matija
(@matija80)
@p4fbradjohnson @daveshine Thank you for your quick answers.
I’ve created a staging installation on a live server and I’ve encountered the same problem.
Elementor, Elementor Pro and Polylang are all active. It seems that problem occurs only if I’m logged in via wp-admin. When I log out homepage displays normally. When I view the page in Incognito mode everything works fine. Error happens only when I’m logged in and Polylang Connect is activated.
I could send you an URL of the staging site and login credentials privately if you wish to investigate further.
I cannot replicate this issue on my side.
All installs run just fine, also with all the latest versions of everything.
The error you get says, that the function pll_languages_list() would be missing — but this comes from Polylang and their API. So this missing is hard to believe. I just checked Polylang and this function is not deprecated or anything.
So there must be something specific to your install(s) why it triggers an error.
Having access to your staging site might really help in this case.
Contact me via Facebook deckerweb
or via this email: use “support” as the alias and wpautobahn dot com as the domain for email 🙂
As a workaround you can use this for now:
go to plugin file:
connect-polylang-elementor/modules/finder/manager.php
and uncomment this line 15, like so:
//add_action( 'elementor/finder/categories/init', 'ddw_cpel_elementor_finder_add_items' );
OR ALTERNATIVELY do this:
place this line of code in Code Snippets plugin or functions.php of theme:
remove_action( 'elementor/finder/categories/init', 'ddw_cpel_elementor_finder_add_items' );
Thread Starter
Matija
(@matija80)
Uncommenting line 15 solves the issue. I no longer get the error.
I’ve sent you the credentials via Facebook.
We could solve the issue together by deleting and re-installing the Polylang plugin and setting up languages in it, plus assigning some content to it.
From our side: we will add another check for Polylang if languages are setup already and if not, point the user to it.
Thanks all 🙂
Thread Starter
Matija
(@matija80)
Thank you @daveshine for you time and effort. Fantastic support!
I have the same problem with fatal error. I uncomment line 15 and it helps.. almost. Now when I open elementor the left settings panel still loading.
@proximaro
Hi and thanks for your feedback!
Please always open a new thread for a new question, this thread was already resolved.
Did you setup the languages in Polylang already? Have those languages any content applied?