mdI
I am trying to configure WPML in my site and I have this error :
We have detected a problem with some tables in the database. Please contact WPML support to get this fixed.
Table 'u551826667_08zsN.hmlwz_icl_strings' doesn't exist
Array
(
[language] => fr
[context] => admin_texts_aioseo_options_localized
[gettext_context] =>
[domain_name_context_md5] => 305e4c551d7cf61be8d2789bb0a0a2ab
[name] => [aioseo_options_localized]breadcrumbs_breadcrumbPrefix
[value] =>
[status] => 0
[translation_priority] => optional
[allow_empty_value] => 1
)
Christopher Amirian
WPML Supporter since 07/2020
Languages:
English (English )
Timezone:
Asia/Yerevan (GMT+04:00)
Hi there,
Please do as follows:
- IMPORTANT STEP! Create a backup of your website. Or better approach will be to test this on a copy/staging version of the website to avoid any disruption of a live website.
- Add the code below to functions.php file of your theme:
function wpmlsupp_1891_fix_missing_icl_tables() {
if( function_exists( 'icl_sitepress_activate' ) )
icl_sitepress_activate();
}
add_action( 'wp_footer', 'wpmlsupp_1891_fix_missing_icl_tables' );
- Reload the website in the backend and front end.
- Remove the code from functions.php
See if it fixes the issue.
Thanks.