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.

Tagged: 

This topic contains 5 replies, has 2 voices.

Last updated by Andrey 8 months, 2 weeks ago.

Assisted by: Andrey.

Author Posts
August 31, 2024 at 6:00 pm #16128019

khaleda-3

Background of the issue:
I am trying to resolve an issue with my site hidden link. I received a message indicating a potential future problem with the String Translation table.

Symptoms:
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.

Questions:
How can I fix the problem with the String Translation table?

August 31, 2024 at 8:28 pm #16128144

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for contacting WPML support.

Could you please follow these steps?

1. Make a full backup of your site.
2. Add the following 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' );

3. Visit your site's homepage at least once.
4. Remove the added code.

After completing these steps, 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 it should be fine.

Let us know if it resolves the issue.

September 1, 2024 at 2:20 pm #16129086

khaleda-3

Hello Andrey,

Removed the functions.php code.

The tables entires will not delete!

Kindly advise.

Regards

September 2, 2024 at 2:50 pm #16132554

khaleda-3

Hello Andrey,

I managed to delete the table entries. But once I reload the website, they return.

I also deleted, reinstalled all wpml plugins. That did not help.

Regards,

Khaled A.

September 2, 2024 at 2:53 pm #16132560

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for your feedback. Could you please show me some screenshots?

I need to request temporary access (wp-admin and FTP) to your site—preferably to a test site where the problem has been replicated if possible—in order to be of better help. When you log in to leave your next reply, you will find the needed fields below the comment area. The information you will enter is private, meaning only you and I can see and access it.

September 3, 2024 at 2:12 pm #16136133

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for the update. It should be fine now.

September 3, 2024 at 3:41 pm #16136671

khaleda-3

Dear Andrey,

Error message is gone.

Thank you very much!

Regards,

Khaled A.