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.

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

Problem:
I receive database errors:

WordPress database error Table '****_2019_icl_string_packages' doesn't exist for query SELECT CONCAT(kind_slug, '-', name) FROM ****_icl_string_packages made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, aioseop_load_modules, All_in_One_SEO_Pack_Module_Manager->__construct, All_in_One_SEO_Pack_Module_Manager->do_load_module, All_in_One_SEO_Pack_Feature_Manager->__construct, All_in_One_SEO_Pack_Module->update_options, All_in_One_SEO_Pack_Module->get_class_option, get_option, apply_filters('option_aioseop_options'), WP_Hook->apply_filters, WPML_Admin_Texts->icl_st_translate_admin_string, WPML_Admin_Texts->icl_st_translate_admin_string, icl_t, icl_translate, WPML_Register_String_Filter->translate_by_name_and_context, WPML_Displayed_String_Filter->get_translation, WPML_ST_DB_Cache->get_translation, WPML_ST_DB_Translation_Retrieve->get_translation, WPML_ST_DB_Translation_Retrieve->load, WPML_ST_Gettext_Filters_Activation->should_be_turned_on, WPML\ST\Package\Domains->isPackage, WPML\ST\Package\Domains->getDomains

Solution:
#1 Create a full database and site backup
#2 Verify that the table icl_string_packages is missing on your database. (using phpMyAdmin)
#3 You can recreate it using the following manual: https://wpml.org/forums/topic/icl_string_packages-doesnt-exist/#post-4100747

Relevant Documentation:
https://wpml.org/forums/topic/icl_string_packages-doesnt-exist/

This topic contains 2 replies, has 2 voices.

Last updated by Milosz Jaksik 2 months, 2 weeks ago.

Assigned support staff: Marcel.

Author Posts
June 28, 2019 at 6:38 am #4104785

Milosz Jaksik

Hello,
after yesterday's update I stared to receive databse error messages:

[28-Jun-2019 06:11:18 UTC] WordPress database error Table '****.****_icl_string_packages' doesn't exist for query SELECT CONCAT(kind_slug, '-', name) FROM ****_icl_string_packages made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, aioseop_load_modules, All_in_One_SEO_Pack_Module_Manager->__construct, All_in_One_SEO_Pack_Module_Manager->do_load_module, All_in_One_SEO_Pack_Feature_Manager->__construct, All_in_One_SEO_Pack_Module->update_options, All_in_One_SEO_Pack_Module->get_class_option, get_option, apply_filters('option_aioseop_options'), WP_Hook->apply_filters, WPML_Admin_Texts->icl_st_translate_admin_string, WPML_Admin_Texts->icl_st_translate_admin_string, icl_t, icl_translate, WPML_Register_String_Filter->translate_by_name_and_context, WPML_Displayed_String_Filter->get_translation, WPML_ST_DB_Cache->get_translation, WPML_ST_DB_Translation_Retrieve->get_translation, WPML_ST_DB_Translation_Retrieve->load, WPML_ST_Gettext_Filters_Activation->should_be_turned_on, WPML\ST\Package\Domains->isPackage, WPML\ST\Package\Domains->getDomains
[28-Jun-2019 06:11:19 UTC] WordPress database error Table '****.****_icl_string_packages' doesn't exist for query SELECT CONCAT(kind_slug, '-', name) FROM ****_icl_string_packages made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, aioseop_load_modules, All_in_One_SEO_Pack_Module_Manager->__construct, All_in_One_SEO_Pack_Module_Manager->do_load_module, All_in_One_SEO_Pack_Feature_Manager->__construct, All_in_One_SEO_Pack_Module->update_options, All_in_One_SEO_Pack_Module->get_class_option, get_option, apply_filters('option_aioseop_options'), WP_Hook->apply_filters, WPML_Admin_Texts->icl_st_translate_admin_string, WPML_Admin_Texts->icl_st_translate_admin_string, icl_t, icl_translate, WPML_Register_String_Filter->translate_by_name_and_context, WPML_Displayed_String_Filter->get_translation, WPML_ST_DB_Cache->get_translation, WPML_ST_DB_Translation_Retrieve->get_translation, WPML_ST_DB_Translation_Retrieve->load, WPML_ST_Gettext_Filters_Activation->should_be_turned_on, WPML\ST\Package\Domains->isPackage, WPML\ST\Package\Domains->getDomains
[28-Jun-2019 06:11:19 UTC] WordPress database error Table '****.****_icl_string_packages' doesn't exist for query SELECT CONCAT(kind_slug, '-', name) FROM ****_icl_string_packages made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/ocrec/t_start.php'), get_header, locate_template, load_template, require_once('/themes/ocrec/header.php'), wp_head, do_action('wp_head'), WP_Hook->do_action, WP_Hook->apply_filters, wp_enqueue_scripts, do_action('wp_enqueue_scripts'), WP_Hook->do_action, WP_Hook->apply_filters, WPML_LS_Assets->wp_enqueue_scripts_action, WPML_LS_Settings->get_active_templates, WPML_LS_Settings->get_active_slots, WPML_LS_Settings->get_setting, WPML_LS_Settings->maybe_init_settings, WPML_LS_Settings_Strings->translate_all, WPML_LS_Settings_Strings->translate_slot_strings, apply_filters('wpml_translate_single_string'), WP_Hook->apply_filters, wpml_translate_single_string_filter, icl_translate, WPML_Register_String_Filter->translate_by_name_and_context, WPML_Displayed_String_Filter->get_translation, WPML_ST_DB_Cache->get_translation, WPML_ST_DB_Translation_Retrieve->get_translation, WPML_ST_DB_Translation_Retrieve->load, WPML_ST_Gettext_Filters_Activation->should_be_turned_on, WPML\ST\Package\Domains->isPackage, WPML\ST\Package\Domains->getDomains
[28-Jun-2019 06:11:19 UTC] WordPress database error Table '****.****_icl_string_packages' doesn't exist for query SELECT CONCAT(kind_slug, '-', name) FROM ****_icl_string_packages made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/ocrec/t_start.php'), get_footer, locate_template, load_template, require_once('/themes/ocrec/footer.php'), wp_footer, do_action('wp_footer'), WP_Hook->do_action, WP_Hook->apply_filters, Cookie_Notice->add_cookie_notice, apply_filters('wpml_translate_single_string'), WP_Hook->apply_filters, wpml_translate_single_string_filter, icl_translate, WPML_Register_String_Filter->translate_by_name_and_context, WPML_Displayed_String_Filter->get_translation, WPML_ST_DB_Cache->get_translation, WPML_ST_DB_Translation_Retrieve->get_translation, WPML_ST_DB_Translation_Retrieve->load, WPML_ST_Gettext_Filters_Activation->should_be_turned_on, WPML\ST\Package\Domains->isPackage, WPML\ST\Package\Domains->getDomains

I thought it's Allin one SEO pack, but after I disable it nothing's changed:

[28-Jun-2019 06:17:07 UTC] WordPress database error Table '****.****_icl_string_packages' doesn't exist for query SELECT CONCAT(kind_slug, '-', name) FROM ****_icl_string_packages made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/ocrec/t_start.php'), get_header, locate_template, load_template, require_once('/themes/ocrec/header.php'), wp_head, do_action('wp_head'), WP_Hook->do_action, WP_Hook->apply_filters, wp_enqueue_scripts, do_action('wp_enqueue_scripts'), WP_Hook->do_action, WP_Hook->apply_filters, WPML_LS_Assets->wp_enqueue_scripts_action, WPML_LS_Settings->get_active_templates, WPML_LS_Settings->get_active_slots, WPML_LS_Settings->get_setting, WPML_LS_Settings->maybe_init_settings, WPML_LS_Settings_Strings->translate_all, WPML_LS_Settings_Strings->translate_slot_strings, apply_filters('wpml_translate_single_string'), WP_Hook->apply_filters, wpml_translate_single_string_filter, icl_translate, WPML_Register_String_Filter->translate_by_name_and_context, WPML_Displayed_String_Filter->get_translation, WPML_ST_DB_Cache->get_translation, WPML_ST_DB_Translation_Retrieve->get_translation, WPML_ST_DB_Translation_Retrieve->load, WPML_ST_Gettext_Filters_Activation->should_be_turned_on, WPML\ST\Package\Domains->isPackage, WPML\ST\Package\Domains->getDomains
[28-Jun-2019 06:17:08 UTC] WordPress database error Table '****.****_icl_string_packages' doesn't exist for query SELECT CONCAT(kind_slug, '-', name) FROM ****_icl_string_packages made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/ocrec/t_start.php'), get_footer, locate_template, load_template, require_once('/themes/ocrec/footer.php'), wp_footer, do_action('wp_footer'), WP_Hook->do_action, WP_Hook->apply_filters, Cookie_Notice->add_cookie_notice, apply_filters('wpml_translate_single_string'), WP_Hook->apply_filters, wpml_translate_single_string_filter, icl_translate, WPML_Register_String_Filter->translate_by_name_and_context, WPML_Displayed_String_Filter->get_translation, WPML_ST_DB_Cache->get_translation, WPML_ST_DB_Translation_Retrieve->get_translation, WPML_ST_DB_Translation_Retrieve->load, WPML_ST_Gettext_Filters_Activation->should_be_turned_on, WPML\ST\Package\Domains->isPackage, WPML\ST\Package\Domains->getDomains
[28-Jun-2019 06:17:11 UTC] WordPress database error Table '****.****_icl_string_packages' doesn't exist for query SELECT CONCAT(kind_slug, '-', name) FROM ****_icl_string_packages made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/ocrec/t_start.php'), get_header, locate_template, load_template, require_once('/themes/ocrec/header.php'), wp_head, do_action('wp_head'), WP_Hook->do_action, WP_Hook->apply_filters, wp_enqueue_scripts, do_action('wp_enqueue_scripts'), WP_Hook->do_action, WP_Hook->apply_filters, WPML_LS_Assets->wp_enqueue_scripts_action, WPML_LS_Settings->get_active_templates, WPML_LS_Settings->get_active_slots, WPML_LS_Settings->get_setting, WPML_LS_Settings->maybe_init_settings, WPML_LS_Settings_Strings->translate_all, WPML_LS_Settings_Strings->translate_slot_strings, apply_filters('wpml_translate_single_string'), WP_Hook->apply_filters, wpml_translate_single_string_filter, icl_translate, WPML_Register_String_Filter->translate_by_name_and_context, WPML_Displayed_String_Filter->get_translation, WPML_ST_DB_Cache->get_translation, WPML_ST_DB_Translation_Retrieve->get_translation, WPML_ST_DB_Translation_Retrieve->load, WPML_ST_Gettext_Filters_Activation->should_be_turned_on, WPML\ST\Package\Domains->isPackage, WPML\ST\Package\Domains->getDomains

June 28, 2019 at 7:14 am #4104987

Marcel
Supporter

Languages: English (English ) German (Deutsch )

Timezone: Europe/Madrid (GMT+02:00)

Hi Milosz,

Thank you for contacting WPML Support.

Oh, yes this looks like something went wrong.

Please
#1 Create a full database and site backup
#2 Verify that the table icl_string_packages is missing on your database. (using phpMyAdmin)
#3 You can recreate it using the following manual: https://wpml.org/forums/topic/icl_string_packages-doesnt-exist/#post-4100747

Please let me know if everything worked on your site.

Best
Marcel

July 29, 2019 at 9:03 am #4298017

Milosz Jaksik

it worked! thanks for your advice!