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.

This topic contains 3 replies, has 1 voice.

Last updated by danielH-157 3 weeks, 1 day ago.

Author Posts
November 21, 2024 at 11:14 am #16428600

danielH-157

Background of the issue:
I'm trying to add WPML to my website hidden link for automatic translations.

Symptoms:
The WPML plugin is not getting activated and is showing a fatal error.

Questions:
Why is the WPML plugin not activating?
What is causing the fatal error with the WPML plugin?

November 21, 2024 at 12:05 pm #16428815

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+01:00)

Hello,

Thanks for contacting us.

While you wait for my colleague to take over the ticket, let me try to help you with the issue quickly.

Please share what is the fatal error message you get, it should be delivered to your admin email.

Otherwise, you can enable the debug log and check there:
More Info: https://wordpress.org/support/article/debugging-in-wordpress/

To enable debug.log, open your wp-config.php file and look for:

define('WP_DEBUG', false);

And change it to:

define('WP_DEBUG', true);
// Enable Debug logging to the /wp-content/debug.log file
define('WP_DEBUG_LOG', true);

Then try to reproduce the issue and check if any errors were saved to the debug.log log file inside the “.../wp-content/” directory.

Regards,
Drazen

November 22, 2024 at 11:29 am #16433611

danielH-157

sorry but im not able to get the debug file

November 22, 2024 at 11:54 am #16433681

danielH-157

PHP Fatal error: Cannot redeclare icl_get_home_url() (previously declared in /www/pippenguinnet_820/public/wp-content/plugins/polylang-pro/vendor/wpsyntex/polylang/modules/wpml/wpml-legacy-api.php:21) in /www/pippenguinnet_820/public/wp-content/plugins/sitepress-multilingual-cms/inc/template-functions.php on line 61

i think this is the error we are getting for wpml plugin and its showing fatal error