Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 -
- 13:00 – 16:00 13:00 – 16:00 13:00 – 16:00 13:00 – 16:00 13:00 – 16:00 -

Supporter timezone: America/Sao_Paulo (GMT-03:00)

Tagged: 

This topic contains 1 reply, has 0 voices.

Last updated by Lucas Vidal de Andrade 1 day, 2 hours ago.

Assisted by: Lucas Vidal de Andrade.

Author Posts
February 14, 2025 at 2:22 pm #16706802

georgiiT

Background of the issue:
I tried to install the required plugins using OTGS for WPML. After clicking the 'install' button, nothing happened. I attempted a manual installation, but it indicated that the plugin is already installed.

Symptoms:
I received an error: 'Plugin could not be activated because it triggered a fatal error. Fatal error: Cannot redeclare icl_get_home_url() (previously declared in /www/apache/domains/www.ollo.ee/htdocs/wp-content/plugins/polylang/modules/wpml/wpml-legacy-api.php:20) in /www/apache/domains/www.ollo.ee/htdocs/wp-content/plugins/sitepress-multilingual-cms/inc/template-functions.php on line 57.'

Questions:
Why does the installation process not proceed after clicking the 'install' button?
How can I resolve the fatal error related to icl_get_home_url()?

February 14, 2025 at 2:31 pm #16706837

Lucas Vidal de Andrade
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hey there,

This issue usually happens, when there's another translation/multilingual plugin installed, like Polylang. Is that the case?

If so, please deactivate it, so you can activate WPML. It's not recommended to have more than one Multilingual Website plugin installed, as it can lead to conflicts. If you are using Polylang, please refer to this documentation:
https://wpml.org/documentation/migrate-polylang-wpml/

Let me know.