Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
If you're experiencing an error every time you try to activate WPML, it might be due to a compatibility issue with another plugin on your site.
Solution:
We recommend deactivating the "Share Buttons by AddThis" plugin and then trying to activate WPML again. This plugin is known to cause issues with WPML as it is not currently listed in our compatible plugins directory. If deactivating the plugin resolves the issue, you might consider contacting the plugin's author to encourage them to join our Go Global program where we help developers make their plugins compatible with WPML. You can find more information about this program here: https://wpml.org/documentation/support/go-global-program/

If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If problems persist, please open a new support ticket with us for further assistance.

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 12 replies, has 2 voices.

Last updated by Long Nguyen 4 months, 2 weeks ago.

Assisted by: Long Nguyen.

Author Posts
June 16, 2024 at 7:19 pm #15742947

annikaA

Background of the issue:
I am trying to activate WPML, but every time I do, there is an error. We bought a next level package from our web hotel provider, but it didn’t help.

Symptoms:
There is an error every time I try to activate WPML.

Questions:
What could be causing the error when I activate WPML?
Why didn't upgrading our web hotel package resolve the issue?

June 17, 2024 at 4:04 am #15743164

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi Annika,

Thank you for contacting WPML support, I’m happy to help you with this issue.

There could be a fatal error when activating WPML plugin on your site. Please enable WP debug mode, re-activate WPML, check if there are some error messages in the debug file and share them with me so I can take a look at it, and determine where to go from there.
If you don't know how to enable WP debug, please follow this documentation
https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/

Looking forward to your reply.
Thanks

June 24, 2024 at 5:37 am #15802531

annikaA

Here is log:

2024/06/23 15:26:51 [error] 81#81: *29189 access forbidden by rule, client: 114.187.211.84, server: _, request: "POST /xmlrpc.php HTTP/1.1", host: "immelkartano.fi"

2024/06/23 15:12:34 [error] 81#81: *29131 access forbidden by rule, client: 51.222.44.176, server: _, request: "GET /wp-content/plugins/click-to-chat-for-whatsapp/README.txt HTTP/1.1", host: "immelkartano.fi"

2024/06/23 15:12:25 [error] 81#81: *29130 access forbidden by rule, client: 51.222.44.176, server: _, request: "GET /wp-content/plugins/under-construction-page/README.txt HTTP/1.1", host: "immelkartano.fi"

2024/06/23 15:12:15 [error] 81#81: *29129 access forbidden by rule, client: 51.222.44.176, server: _, request: "GET /wp-content/plugins/woosidebars/README.txt HTTP/1.1", host: "immelkartano.fi"

2024/06/23 15:12:06 [error] 81#81: *29128 access forbidden by rule, client: 51.222.44.176, server: _, request: "GET /wp-content/plugins/foobox-image-lightbox/README.txt HTTP/1.1", host: "immelkartano.fi"

2024/06/23 15:11:57 [error] 81#81: *29127 access forbidden by rule, client: 51.222.44.176, server: _, request: "GET /wp-content/plugins/wpfront-notification-bar/README.txt HTTP/1.1", host: "immelkartano.fi"

2024/06/23 15:11:47 [error] 81#81: *29126 access forbidden by rule, client: 51.222.44.176, server: _, request: "GET /wp-content/plugins/master-slider/README.txt HTTP/1.1", host: "immelkartano.fi"

2024/06/23 15:11:38 [error] 81#81: *29124 access forbidden by rule, client: 51.222.44.176, server: _, request: "GET /wp-content/plugins/dokan-lite/README.txt HTTP/1.1", host: "immelkartano.fi"

2024/06/23 15:11:29 [error] 81#81: *29119 access forbidden by rule, client: 51.222.44.176, server: _, request: "GET /wp-content/plugins/duracelltomi-google-tag-manager/README.txt HTTP/1.1", host: "immelkartano.fi"

2024/06/23 15:11:21 [error] 81#81: *29123 access forbidden by rule, client: 51.222.44.176, server: _, request: "GET /wp-content/plugins/mp-timetable/README.txt HTTP/1.1", host: "immelkartano.fi"

2024/06/23 15:11:13 [error] 81#81: *29122 access forbidden by rule, client: 51.222.44.176, server: _, request: "GET /wp-content/plugins/flamingo/README.txt HTTP/1.1", host: "immelkartano.fi"

2024/06/23 15:11:05 [error] 81#81: *29122 access forbidden by rule, client: 51.222.44.176, server: _, request: "GET /wp-content/plugins/presto-player/README.txt HTTP/1.1", host: "immelkartano.fi"

2024/06/23 15:10:58 [error] 81#81: *29119 access forbidden by rule, client: 51.222.44.176, server: _, request: "GET /wp-content/plugins/addon-elements-for-elementor-page-builder/README.txt HTTP/1.1", host: "immelkartano.fi"

2024/06/23 15:10:49 [error] 81#81: *29121 access forbidden by rule, client: 51.222.44.176, server: _, request: "GET /wp-content/plugins/feeds-for-youtube/README.txt HTTP/1.1", host: "immelkartano.fi"

2024/06/23 15:10:41 [error] 81#81: *29118 access forbidden by rule, client: 51.222.44.176, server: _, request: "GET /wp-content/plugins/nav-menu-roles/README.txt HTTP/1.1", host: "immelkartano.fi"

2024/06/23 15:07:51 [error] 81#81: *29106 access forbidden by rule, client: 69.63.64.21, server: _, request: "POST /xmlrpc.php HTTP/1.1", host: "immelkartano.fi"

June 24, 2024 at 5:38 am #15802548

annikaA

What should I do?

June 24, 2024 at 6:46 am #15803306

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

It looks like the PHP error log, not WP debug log. And according to the log, I see it is related to the server access permission rather than WPML.
I suggest you contact your hosting support and ask for more information regarding the PHP error log.

If it still doesn't help, I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to have a testing site where the issue is replicated. Your next reply is set to private to share the info.

❌ IMPORTANT: Please backup your database and website before proceeding ❌
You can use this plugin to create the backup: https://wordpress.org/plugins/duplicator/
✙ I would need your permission to de-activate and re-activate Plugins and the Theme to change configurations on the site if needed. This is also a reason the backup is critical.

Looking forward to your reply.
Thanks

June 25, 2024 at 6:29 am #15816608

annikaA

Sorry typo admin is wpmltuki

June 25, 2024 at 7:23 am #15817305

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

After restoring your site on my local host, I don't see any issues after activating WPML plugin. On your site, after activating WPML, the translation page in the frontend is working properly. Please check the attached screenshot. However, the admin area doesn't work. Can you please share the FTP account also? Your next reply is set to private to share the info.

Looking forward to your reply.
Thanks

Experience Levi Lapland Finland - Immelkartano Levi Lapland Finland 2024-06-25 14-20-28.jpg
June 25, 2024 at 7:42 am #15817441

annikaA

It doesn't let me go further from this stage. What should I do?

Screenshot 2024-06-25 at 10.42.26.png
June 25, 2024 at 7:55 am #15817738

annikaA

Can you provide the private message once more? I found ftp-info.

June 25, 2024 at 8:06 am #15817837

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Sure, your next reply is set to private to share the info.

Thanks.

June 25, 2024 at 9:53 am #15818890

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

There is a compatibility issue with the plugin "Share Buttons by AddThis", if this plugin is deactivated, WPML can work properly on your site in both admin area and frontend.

The plugin "Share Buttons by AddThis" is not available in our list of compatible plugins (https://wpml.org/plugin/), I suggest you contact the plugin author and ask them to join our Go Global program where our Compatibility developers will help them to make their product compatible with WPML.
https://wpml.org/documentation/support/go-global-program/

Thanks.

June 25, 2024 at 10:27 am #15819319

annikaA

Thank you so much!!!!

June 26, 2024 at 1:01 am #15827020

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Feel free to contact us again if you have any questions.

Thanks and have a good day.