Skip Navigation

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

Problem:
Reinstall the WPML. I had problems with WPML settings, so I make a reset via this instructions: https://wpml.org/documentation/getting-started-guide/language-setup/deleting-languages-and-plugin-data-by-doing-a-wpml-reset-on-your-site/

After activating plugins again, there is an error message: "There is a problem with the String Translation table in your site. This problem is not causing a problem running the site right now, but can become a critical issue in the future. WPML support team knows how to fix it. Please add a message in the relevant support thread and we'll fix it for you."

Solution:
https://wpml.org/forums/topic/there-is-a-problem-with-the-string-translation-table-in-your-site-this-problem-83/#post-14205389

+

We have used the 'Remove all messages and notifications' button in the WPML -> Support -> Troubleshooting page: https://drfg.test-unifer.cz/wp-admin/admin.php?page=sitepress-multilingual-cms%2Fmenu%2Ftroubleshooting.php, and now the warning is not showing anymore.

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.

Tagged: 

This topic contains 4 replies, has 2 voices.

Last updated by Mateus Getulio 1 year, 6 months ago.

Assisted by: Mateus Getulio.

Author Posts
August 15, 2023 at 8:52 am #14201711

sluzbyU

Tell us what you are trying to do?
Reinstall the WPML. I had problems with WPML settings, so I make a reset via this instructions: https://wpml.org/documentation/getting-started-guide/language-setup/deleting-languages-and-plugin-data-by-doing-a-wpml-reset-on-your-site/

After activating plugins again, there is an error message: "There is a problem with the String Translation table in your site. This problem is not causing a problem running the site right now, but can become a critical issue in the future. WPML support team knows how to fix it. Please add a message in the relevant support thread and we'll fix it for you."

What is the link to your site?
hidden link

August 15, 2023 at 9:34 pm #14205389

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

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

Hello there,

Welcome to our support forum. I’ll be happy to assist you with this!

We've found some edge cases where this error is fixed by following these instructions to recreate the icl_tables:

- Make a full backup of your site (files and database)
- Please add this code to the bottom of the functions.php file in your theme's root folder

function wpml_fix_missing_icl_tables() {
    
    if( function_exists( 'icl_sitepress_activate' ) )
    
        icl_sitepress_activate();
    
}
    
add_action( 'wp_footer', 'wpml_fix_missing_icl_tables' );

- Visit your site's homepage at least one time
- Remove the code

Once you complete these steps, then you have to remove the keys "wpml_string_table_ok_for_mo_import" and "wpml_notices" from the options table (by default wp_options, where "wp_" is your database prefix), and all errors should be gone.

Please give it a try and let us know if it works for you. We're looking forward to your reply. Thanks!

Kind regards,
Mateus.

August 16, 2023 at 8:42 am #14207289

sluzbyU

Thank you, seems this notice is gone.

But there is still one other notice (it was there before I made your steps above):

"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."

I made this cleaning before, but the notice still exists. And now I can't find any "Clear language information and repopulate languages" link/button on Troubleshooting page to click it.

Thank you.

August 16, 2023 at 4:49 pm #14240015

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

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

Hi there,

Thanks for your reply.

And if you repeat the previous steps of resetting WPML, does it persist? https://wpml.org/documentation/getting-started-guide/language-setup/deleting-languages-and-plugin-data-by-doing-a-wpml-reset-on-your-site/

If it persists, I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Our Debugging Procedures

I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.

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 make a backup of site files and database before providing us access.
- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this: hidden link

Please, let me know if you need any additional details. Have a nice day.

August 17, 2023 at 4:53 pm #14247991

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

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

Hi there,

Thank you for providing the credentials.

We have used the 'Remove all messages and notifications' button in the WPML -> Support -> Troubleshooting page: hidden link, and now the warning is not showing anymore.

Could you please review it and let us know if it is solved indeed? Thank you.

August 17, 2023 at 5:25 pm #14248131

sluzbyU

Hi Mateus,

I made review, everything is ok now, thank you.