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 1 reply, has 2 voices.

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

Assisted by: Mateus Getulio.

Author Posts
July 6, 2023 at 3:34 pm #13961733

frankM-36

I am trying to: Debug my logfile

Link to a page where the issue can be seen: hidden link (Backend)

I expected to see:

Instead, I got: Backend error message
Table 'h8uhwgw_yoda.wp_icl_strings' doesn't exist

Array
(
[language] => en
[context] => the-events-calendar
[gettext_context] => Archive Events Slug
[domain_name_context_md5] => 8175ecfdd773f46ed6a324d2742cb8c0
[name] => 16908b0605f2645dfcb4c3a8d248cef3
[value] => events
[status] => 0
[translation_priority] => optional
[allow_empty_value] =>
)

July 6, 2023 at 6:25 pm #13962731

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.