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
10:00 – 14:00 10:00 – 14:00 10:00 – 14:00 10:00 – 14:00 10:00 – 14:00 - -
16:00 – 20:00 16:00 – 20:00 16:00 – 20:00 16:00 – 20:00 16:00 – 20:00 - -

Supporter timezone: Asia/Jerusalem (GMT+03:00)

This topic contains 12 replies, has 2 voices.

Last updated by Itamar 1 year ago.

Assisted by: Itamar.

Author Posts
April 9, 2024 at 6:36 pm #15501017

mohamedM-54

WPML is missing some records in the languages tables and it cannot fully work until this issue is fixed.
Please go to the Troubleshooting page and click on "Clear language information and repopulate languages" to fix this problem.

This warning will disappear once this issue is fixed.

Getting above error after installing wpml plugin

screencapture-webftech-demoworks-webftechpr28-wp-admin-admin-php-2024-04-10-00_00_21.png
April 9, 2024 at 6:52 pm #15501054

Itamar
WPML Supporter since 02/2016

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

This might happen if WPML was already installed in the past on your website and wasn't removed properly.

Could this be the case?

According to the debug information you attached, it is a new install of our plugin, and you have yet to start and complete the setup wizard. So it should be safe to proceed with the recommended Clean Up Process - "Clear language information and repopulate languages" to fix this problem.

Can you please proceed with it and check if the message is gone?
Then, you can run the WPML setup wizard.


**** Important! Please make a full site backup (files and DB) before you proceed with those steps****

Regards,
Itamar.

April 10, 2024 at 7:58 am #15502573

mohamedM-54

After "Clean up" still showing same warning. can't setup wpml

April 10, 2024 at 10:36 am #15503834

Itamar
WPML Supporter since 02/2016

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

What happens when you try to set up WPML?
Do you get any message?
Please share screenshots.

Please check for PHP errors as well. Share WordPress's debug log (not WPML debug information). Please check this page for instructions.

https://wpml.org/documentation/support/debugging-wpml/

To enable it, open your wp-config.php file and look for

define('WP_DEBUG', false);

Change it to:

define('WP_DEBUG', true);
// Enable Debug logging to the /wp-content/debug.log file
define('WP_DEBUG_LOG', true);
// Disable display of errors and warnings
define('WP_DEBUG_DISPLAY', false);
@ini_set('display_errors', 0);

After this, repeat the action that causes the problem on your site (try to set up WPML). The errors will be saved to a debug.log log file inside the /wp-content/ directory. Then please share the errors with us. (Share only the relevant errors from the time you tried this.)

Regards,
Itamar.

April 10, 2024 at 10:37 am #15503840

Itamar
WPML Supporter since 02/2016

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

In addition to the above, please check our guide on installing WPML.

https://wpml.org/faq/install-wpml/

April 14, 2024 at 5:38 am #15515353

mohamedM-54

debug.log
==========================

[14-Apr-2024 03:45:30 UTC] PHP Notice: Undefined variable: wp_editor_setting in /home/webfqstj/public_html/demoworks/webftechpr28/wp-content/themes/webftechpr28/options.php on line 173
[14-Apr-2024 03:45:30 UTC] PHP Notice: Undefined variable: wp_editor_setting in /home/webfqstj/public_html/demoworks/webftechpr28/wp-content/themes/webftechpr28/options.php on line 200
[14-Apr-2024 03:45:33 UTC] PHP Notice: Undefined variable: wp_editor_setting in /home/webfqstj/public_html/demoworks/webftechpr28/wp-content/themes/webftechpr28/options.php on line 173
[14-Apr-2024 03:45:33 UTC] PHP Notice: Undefined variable: wp_editor_setting in /home/webfqstj/public_html/demoworks/webftechpr28/wp-content/themes/webftechpr28/options.php on line 200
[14-Apr-2024 03:45:35 UTC] PHP Notice: Undefined variable: wp_editor_setting in /home/webfqstj/public_html/demoworks/webftechpr28/wp-content/themes/webftechpr28/options.php on line 173
[14-Apr-2024 03:45:35 UTC] PHP Notice: Undefined variable: wp_editor_setting in /home/webfqstj/public_html/demoworks/webftechpr28/wp-content/themes/webftechpr28/options.php on line 200
[14-Apr-2024 03:45:35 UTC] PHP Notice: Undefined variable: wp_editor_setting in /home/webfqstj/public_html/demoworks/webftechpr28/wp-content/themes/webftechpr28/options.php on line 173
[14-Apr-2024 03:45:35 UTC] PHP Notice: Undefined variable: wp_editor_setting in /home/webfqstj/public_html/demoworks/webftechpr28/wp-content/themes/webftechpr28/options.php on line 200
[14-Apr-2024 03:45:36 UTC] PHP Notice: Undefined variable: wp_editor_setting in /home/webfqstj/public_html/demoworks/webftechpr28/wp-content/themes/webftechpr28/options.php on line 173
[14-Apr-2024 03:45:36 UTC] PHP Notice: Undefined variable: wp_editor_setting in /home/webfqstj/public_html/demoworks/webftechpr28/wp-content/themes/webftechpr28/options.php on line 200
[14-Apr-2024 03:45:37 UTC] PHP Notice: Undefined variable: wp_editor_setting in /home/webfqstj/public_html/demoworks/webftechpr28/wp-content/themes/webftechpr28/options.php on line 173
[14-Apr-2024 03:45:37 UTC] PHP Notice: Undefined variable: wp_editor_setting in /home/webfqstj/public_html/demoworks/webftechpr28/wp-content/themes/webftechpr28/options.php on line 200
[14-Apr-2024 03:45:45 UTC] PHP Notice: Undefined variable: wp_editor_setting in /home/webfqstj/public_html/demoworks/webftechpr28/wp-content/themes/webftechpr28/options.php on line 173
[14-Apr-2024 03:45:45 UTC] PHP Notice: Undefined variable: wp_editor_setting in /home/webfqstj/public_html/demoworks/webftechpr28/wp-content/themes/webftechpr28/options.php on line 200
[14-Apr-2024 03:45:46 UTC] PHP Notice: Undefined variable: wp_editor_setting in /home/webfqstj/public_html/demoworks/webftechpr28/wp-content/themes/webftechpr28/options.php on line 173
[14-Apr-2024 03:45:46 UTC] PHP Notice: Undefined variable: wp_editor_setting in /home/webfqstj/public_html/demoworks/webftechpr28/wp-content/themes/webftechpr28/options.php on line 200
[14-Apr-2024 03:45:46 UTC] PHP Notice: Undefined variable: wp_editor_setting in /home/webfqstj/public_html/demoworks/webftechpr28/wp-content/themes/webftechpr28/options.php on line 173
[14-Apr-2024 03:45:46 UTC] PHP Notice: Undefined variable: wp_editor_setting in /home/webfqstj/public_html/demoworks/webftechpr28/wp-content/themes/webftechpr28/options.php on line 200
[14-Apr-2024 03:45:47 UTC] PHP Notice: Undefined variable: wp_editor_setting in /home/webfqstj/public_html/demoworks/webftechpr28/wp-content/themes/webftechpr28/options.php on line 173
[14-Apr-2024 03:45:47 UTC] PHP Notice: Undefined variable: wp_editor_setting in /home/webfqstj/public_html/demoworks/webftechpr28/wp-content/themes/webftechpr28/options.php on line 200
[14-Apr-2024 03:45:48 UTC] PHP Notice: Undefined variable: wp_editor_setting in /home/webfqstj/public_html/demoworks/webftechpr28/wp-content/themes/webftechpr28/options.php on line 173
[14-Apr-2024 03:45:48 UTC] PHP Notice: Undefined variable: wp_editor_setting in /home/webfqstj/public_html/demoworks/webftechpr28/wp-content/themes/webftechpr28/options.php on line 200
[14-Apr-2024 03:45:48 UTC] PHP Notice: Undefined variable: wp_editor_setting in /home/webfqstj/public_html/demoworks/webftechpr28/wp-content/themes/webftechpr28/options.php on line 173
[14-Apr-2024 03:45:48 UTC] PHP Notice: Undefined variable: wp_editor_setting in /home/webfqstj/public_html/demoworks/webftechpr28/wp-content/themes/webftechpr28/options.php on line 200
[14-Apr-2024 03:45:48 UTC] PHP Notice: Undefined variable: wp_editor_setting in /home/webfqstj/public_html/demoworks/webftechpr28/wp-content/themes/webftechpr28/options.php on line 173
[14-Apr-2024 03:45:48 UTC] PHP Notice: Undefined variable: wp_editor_setting in /home/webfqstj/public_html/demoworks/webftechpr28/wp-content/themes/webftechpr28/options.php on line 200
[14-Apr-2024 03:45:49 UTC] PHP Notice: Undefined variable: wp_editor_setting in /home/webfqstj/public_html/demoworks/webftechpr28/wp-content/themes/webftechpr28/options.php on line 173
[14-Apr-2024 03:45:49 UTC] PHP Notice: Undefined variable: wp_editor_setting in /home/webfqstj/public_html/demoworks/webftechpr28/wp-content/themes/webftechpr28/options.php on line 200
[14-Apr-2024 03:45:49 UTC] PHP Notice: Undefined variable: wp_editor_setting in /home/webfqstj/public_html/demoworks/webftechpr28/wp-content/themes/webftechpr28/options.php on line 173
[14-Apr-2024 03:45:49 UTC] PHP Notice: Undefined variable: wp_editor_setting in /home/webfqstj/public_html/demoworks/webftechpr28/wp-content/themes/webftechpr28/options.php on line 200
[14-Apr-2024 03:45:49 UTC] PHP Notice: Undefined variable: wp_editor_setting in /home/webfqstj/public_html/demoworks/webftechpr28/wp-content/themes/webftechpr28/options.php on line 173
[14-Apr-2024 03:45:49 UTC] PHP Notice: Undefined variable: wp_editor_setting in /home/webfqstj/public_html/demoworks/webftechpr28/wp-content/themes/webftechpr28/options.php on line 200
[14-Apr-2024 03:46:48 UTC] PHP Notice: Undefined variable: wp_editor_setting in /home/webfqstj/public_html/demoworks/webftechpr28/wp-content/themes/webftechpr28/options.php on line 173
[14-Apr-2024 03:46:48 UTC] PHP Notice: Undefined variable: wp_editor_setting in /home/webfqstj/public_html/demoworks/webftechpr28/wp-content/themes/webftechpr28/options.php on line 200

April 14, 2024 at 5:41 am #15515354

mohamedM-54

Check the screenshot. I can,t see any languages in the dropdown list. If you want i will share wordpress admin details

Screenshot_1.png
April 14, 2024 at 8:55 am #15515436

Itamar
WPML Supporter since 02/2016

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi, and thanks for trying my suggestions and sharing your findings.

The notice message that you share is not related to WPML. It is related to your theme - webftechpr28. I don't see how it is associated with the problem itself.

Maybe something went wrong during the installation of WPML, and some files are missing. Please try WPML's reset. It is in the troubleshooting section (the first screenshot you shared). Please read about it here.

https://wpml.org/documentation/getting-started-guide/language-setup/deleting-languages-and-plugin-data-by-doing-a-wpml-reset-on-your-site/

After that, download a fresh copy of WPML CMS Multilingual (our core plugins.) You can download it here: https://wpml.org/account/downloads/. And start the setup again. I suspect that the theme or other plugins might interfere with installing WPML. So before you do that, I recommend switching the theme from your theme to a default WordPress theme like 2024 and deactivating all the third-party plugins.

**** Important! Please make a full site backup (files and DB) before you proceed with those steps****

Thanks,
Itamar.

April 14, 2024 at 9:20 am #15515476

mohamedM-54

I switch theme to "Twenty Twenty-Four" theme but happening the same.

April 14, 2024 at 9:36 am #15515492

mohamedM-54

please see the screenshot

screencapture-webftech-demoworks-webftechpr28-wp-admin-admin-php-2024-04-14-15_00_35.png
April 14, 2024 at 1:32 pm #15515959

Itamar
WPML Supporter since 02/2016

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

The following is not clear to me.
Did you also reset WPML, as I suggested?

Here are the explanations from my previous reply.

Maybe something went wrong during the installation of WPML, and some files are missing. Please try WPML's reset. It is in the troubleshooting section (the first screenshot you shared). Please read about it here.

https://wpml.org/documentation/getting-started-guide/language-setup/deleting-languages-and-plugin-data-by-doing-a-wpml-reset-on-your-site/

After that, download a fresh copy of WPML CMS Multilingual (our core plugins.) You can download it here: https://wpml.org/account/downloads/. And start the setup again.

Regards,
Itamar.

April 15, 2024 at 1:51 am #15516893

mohamedM-54

Yes, I did all which you suggested. I'm successfully setup wpml in many sites before. i faced issue in this site only. If i share WordPress credentials then could you check from your side?

April 15, 2024 at 3:11 pm #15521016

Itamar
WPML Supporter since 02/2016

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Thanks.

Yes, please share the access to your site. We also need FTP access and permission to install the Adminer (hidden link) script to examine your site's DB.

I'm enabling a private message for the following reply.

Privacy and Security Policy
We have strict policies regarding privacy and access to your information. Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/
**IMPORTANT**
- - Please backup the site files and database before providing us access. --
-- If you have a staging site where the problem can be reproduced, it is better to share access to the staging site.--

Regards,
Itamar.

The topic ‘[Closed] Getting an error after installing wpml plugin’ is closed to new replies.