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

Last updated by Bruno Kos 3 months, 2 weeks ago.

Assigned support staff: Bruno Kos.

Author Posts
July 9, 2019 at 9:49 pm

Trevor

Hello - we have a recent issue with our website - when WPML is enabled, two things seem to happen:

* A slider on the site homepage (using jQuery Cycle2 plugin) breaks
* The following error appears in the server error logs:

2019/07/09 21:39:40 [error] 5478#5478: *2254157 FastCGI sent in stderr: "PHP message: WordPress database error Table 'bovill.wp_icl_string_packages' doesn't exist for query SELECT CONCAT(kind_slug, '-', name) FROM wp_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('plugins_loaded'), WP_Hook->do_action, WP_Hook->apply_filters, wpseo_init, WPSEO_Meta::init, WPSEO_Options::get, WPSEO_Options::get_all, WPSEO_Options::get_options, WPSEO_Options::get_option, get_option, apply_filters('option_wpseo_titles'), 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->isPacka...PHP message: WordPress database error Table 'bovill.wp_icl_string_packages' doesn't exist for query SELECT CONCAT(kind_slug, '-', name) FROM wp_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('plugins_loaded'), WP_Hook->do_action, WP_Hook->apply_filters, wpseo_init, WPSEO_Meta::init, WPSEO_Options::get, WPSEO_Options::get_all, WPSEO_Options::get_options, WPSEO_Options::get_option, get_option, apply_filters('option_wpseo_social'), 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->

When we disable WPML, then the homepage slider starts working again.

Do you have any advice on how we can get both working together / eliminate the error?

Thanks!

July 10, 2019 at 6:17 am #4176265

Bruno Kos
Supporter

Languages: English (English )

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

Hi,

Thank you for contacting WPML support!

According to this log, it seems like that not all WPML tables were created for some reason. In your case "wp_icl_string_packages" is not there.

Therefore can you try any of the following solutions and let me know if they worked?
https://wpml.org/forums/topic/wpml-not-generating-icl_-database-tables/#post-2269692
https://wpml.org/forums/topic/icl_string_packages-doesnt-exist/#post-4100747

Make sure that you make a full site backup before this or try on the staging site. Let me know how it went!

Regards,
Bruno Kos