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.

This topic contains 4 replies, has 2 voices.

Last updated by Gerard 7 years, 6 months ago.

Assigned support staff: Rupashree Mane Hadke.

Author Posts
April 27, 2014 at 5:17 pm #388403

Gerard

Dear Sirs,

We have;
- WordPress 3.8. installed. No updates based on 3.9. (WordPress) are installed
- Woocommerce Multiligual 3.2.2.
- 2 languages set on our website: 1) English (DEFAULT!!!), German
All URL showing correctly (on each page in the back end)
- All settings are set to "English is default". Result: the problem remains
- Deactivated all plugins incl. all WPML plugin and deactivated the WPML plugins again. Result: the problem remains
- We have set the permalinks settings to default, saved them and set them back to the desired settings. Result: the problem remains (please refer to the screenshot attached)
- Done all translations
- the following versions installed
- Have MANY of these error messages (see screen shot)>> Warning: Invalid argument supplied for foreach() in /homepages/25/d496048365/htdocs/art227/wp-content/plugins/sitepress-multilingual-cms/inc/translation-management/translation-management.class.php on line 4013

We would be more than happy to share with you the access credentials as you most probably find the solution in 5 minutes where we have now spent weeks to try to sort this out.

THANKS A LOT FOR YOUR SUPPORT ON THIS ISSUE.

WPML Multilingual CMS Installed Yes 3.1.4
WPML CMS Nav Installed Yes 1.4.2
WPML String Translation Installed Yes 2.0.4
WPML Sticky Links Installed Yes 1.2.1
WPML Translation Management Installed Yes 1.9.3
WPML Translation Analytics Installed No 1.0.1
WPML XLIFF Installed No 0.9.3
WPML Media Installed Yes 2.1.1
WooCommerce Multilingual Installed No 3.2.2
JigoShop Multilingual Download No n/a
Gravity Forms Multilingual Installed No 1.1
CRED Frontend Translation Download No n/a
Installer Installed Yes 0.7.1

The WPML settings are as shown here below;
Array
(
[hide_upgrade_notice] => 3.1.4
[interview_translators] => 1
[existing_content_language_verified] => 1
[language_negotiation_type] => 1
[theme_localization_type] => 2
[icl_lso_header] => 0
[icl_lso_link_empty] => 1
[icl_lso_flags] => 1
[icl_lso_native_lang] => 1
[icl_lso_display_lang] => 0
[sync_page_ordering] => 1
[sync_page_parent] => 1
[sync_page_template] => 1
[sync_ping_status] => 1
[sync_comment_status] => 1
[sync_sticky_flag] => 1
[sync_private_flag] => 1
[sync_post_format] => 1
[sync_delete] => 0
[sync_delete_tax] => 0
[sync_post_taxonomies] => 1
[sync_post_date] => 0
[sync_taxonomy_parents] => 0
[translation_pickup_method] => 0
[notify_complete] => 1
[translated_document_status] => 1
[remote_management] => 0
[auto_adjust_ids] => 1
[alert_delay] => 0
[promote_wpml] => 0
[troubleshooting_options] => Array
(
[http_communication] => 1
)

[automatic_redirect] => 0
[remember_language] => 24
[icl_lang_sel_type] => dropdown
[icl_widget_title_show] => 0
[translated_document_page_url] => auto-generate
[sync_comments_on_duplicates ] => 0
[seo] => Array
(
[head_langs] => 1
[canonicalization_duplicates] => 1
)

[posts_slug_translation] => Array
(
[on] => 1
[types] => Array
(
[product] => 1
[attachment] =>
[wpcf7_contact_form] =>
[lens_portfolio] =>
[lens_gallery] =>
)

)

[admin_default_language] => en
[ajx_health_checked] => 1
[dont_show_help_admin_notice] => 1
[setup_wizard_step] => 3
[default_categories] => Array
(
[en] => 1
[de] => 47
)

[default_language] => en
[icl_lang_sel_config] => Array
(
[font-current-normal] => #444444
[font-current-hover] => #000000
[background-current-normal] => #ffffff
[background-current-hover] => #eeeeee
[font-other-normal] => #444444
[font-other-hover] => #000000
[background-other-normal] => #ffffff
[background-other-hover] => #eeeeee
[border] => #EEEEEE
)

[icl_lang_sel_footer_config] => Array
(
[font-current-normal] => #393939
[font-current-hover] => #000000
[background-current-normal] => #F5F5F5
[background-current-hover] => #FFFFFF
[font-other-normal] => #393939
[font-other-hover] => #000000
[background-other-normal] => #F5F5F5
[background-other-hover] => #FFFFFF
[border] => transparent
[background] => transparent
)

[icl_language_switcher_sidebar] => 1
[icl_lang_sel_footer] => 0
[icl_post_availability] => 1
[icl_post_availability_position] => below
[icl_post_availability_text] => This Art227 page is also available in: %s
[language_selector_initialized] => 1
[translation-management] => Array
(
[notification] => Array
(
[new-job] => 1
[completed] => 1
[resigned] => 1
[dashboard] => 1
[purge-old] => 7
)

[custom_fields_translation] => Array
(
[product_categories] => 2
[_price] => 1
[_regular_price] => 1
[_sale_price] => 1
[_min_variation_regular_price] => 1
[_min_variation_sale_price] => 1
[_min_variation_price] => 1
[_max_variation_regular_price] => 1
[_max_variation_sale_price] => 1
[_max_variation_price] => 1
[_sale_price_dates_from] => 1
[_sale_price_dates_to] => 1
[_wcml_schedule] => 1
[title] => 2
[description] => 2
[keywords] => 2
[_yoast_wpseo_title] => 2
[_yoast_wpseo_bctitle] => 2
[_yoast_wpseo_metadesc] => 2
[_yoast_wpseo_metakeywords] => 2
[_yoast_wpseo_focuskw] => 2
[_yoast_wpseo_meta-robots-noindex] => 1
[_yoast_wpseo_meta-robots-nofollow] => 1
[_yoast_wpseo_meta-robots-adv] => 1
[_yoast_wpseo_canonical] => 0
[_yoast_wpseo_redirect] => 0
[_yoast_wpseo_opengraph-description] => 2
[_yoast_wpseo_google-plus-description] => 2
)

[doc_translation_method] => 0
[__custom_types_readonly_config_prev] => Array
(
[product] => 1
[product_variation] => 0
[shop_coupon] => 0
[shop_order] => 0
[wc_product_tab] => 1
[attachment] => 1
[portfolio] => 1
[homepage_slide] => 1
[testimonial] => 1
)

[custom_types_readonly_config] => Array
(
[product] => 1
[product_variation] => 0
[shop_coupon] => 0
[shop_order] => 0
[wc_product_tab] => 1
[attachment] => 1
[portfolio] => 1
[homepage_slide] => 1
[testimonial] => 1
)

[__custom_fields_readonly_config_prev] => Array
(
[0] => title
[1] => description
[2] => keywords
[3] => _backorders
[4] => _crosssell_ids
[5] => _default_attributes
[6] => _download_limit
[7] => _downloadable
[8] => _featured
[9] => _file_path
[10] => _manage_stock
[11] => _sale_price_dates_from
[12] => _sale_price_dates_to
[13] => _sku
[14] => _stock
[15] => _stock_status
[16] => _sold_individually
[17] => _subscription_length
[18] => _subscription_period
[19] => _subscription_period_interval
[20] => _subscription_price
[21] => _subscription_sign_up_fee
[22] => _subscription_trial_length
[23] => _subscription_trial_period
[24] => _tax_class
[25] => _tax_status
[26] => _upsell_ids
[27] => _virtual
[28] => _visibility
[29] => _weight
[30] => _width
[31] => _height
[32] => _length
[33] => _woocommerce_exclude_image
[34] => total_sales
[35] => _product_url
[36] => _button_text
[37] => _purchase_note
[38] => _override_tab_layout
[39] => _product_tabs
[40] => _wcml_custom_prices_status
[41] => _yoast_wpseo_title
[42] => _yoast_wpseo_bctitle
[43] => _yoast_wpseo_metadesc
[44] => _yoast_wpseo_metakeywords
[45] => _yoast_wpseo_focuskw
[46] => _yoast_wpseo_meta-robots-noindex
[47] => _yoast_wpseo_meta-robots-nofollow
[48] => _yoast_wpseo_meta-robots-adv
[49] => _yoast_wpseo_canonical
[50] => _yoast_wpseo_redirect
[51] => _yoast_wpseo_opengraph-description
[52] => _yoast_wpseo_google-plus-description
[53] => _cms_nav_minihome
[54] => _cms_nav_section
[55] => _top_nav_excluded
)

[custom_fields_readonly_config] => Array
(
[0] => title
[1] => description
[2] => keywords
[3] => _backorders
[4] => _crosssell_ids
[5] => _default_attributes
[6] => _download_limit
[7] => _downloadable
[8] => _featured
[9] => _file_path
[10] => _manage_stock
[11] => _sale_price_dates_from
[12] => _sale_price_dates_to
[13] => _sku
[14] => _stock
[15] => _stock_status
[16] => _sold_individually
[17] => _subscription_length
[18] => _subscription_period
[19] => _subscription_period_interval
[20] => _subscription_price
[21] => _subscription_sign_up_fee
[22] => _subscription_trial_length
[23] => _subscription_trial_period
[24] => _tax_class
[25] => _tax_status
[26] => _upsell_ids
[27] => _virtual
[28] => _visibility
[29] => _weight
[30] => _width
[31] => _height
[32] => _length
[33] => _woocommerce_exclude_image
[34] => total_sales
[35] => _product_url
[36] => _button_text
[37] => _purchase_note
[38] => _override_tab_layout
[39] => _product_tabs
[40] => _wcml_custom_prices_status
[41] => _yoast_wpseo_title
[42] => _yoast_wpseo_bctitle
[43] => _yoast_wpseo_metadesc
[44] => _yoast_wpseo_metakeywords
[45] => _yoast_wpseo_focuskw
[46] => _yoast_wpseo_meta-robots-noindex
[47] => _yoast_wpseo_meta-robots-nofollow
[48] => _yoast_wpseo_meta-robots-adv
[49] => _yoast_wpseo_canonical
[50] => _yoast_wpseo_redirect
[51] => _yoast_wpseo_opengraph-description
[52] => _yoast_wpseo_google-plus-description
[53] => _cms_nav_minihome
[54] => _cms_nav_section
[55] => _top_nav_excluded
)

[taxonomies_readonly_config] => Array
(
[portfolio_cat] => 1
)

)

[icl_additional_css] => #lang_sel img, #lang_sel_list img, #lang_sel_footer img { display: inline; }
[setup_complete] => 1
[display_ls_in_menu] => 0
[menu_for_ls] => 27
[st] => Array
(
[sw] => Array
(
[strings_language] => en
)

[strings_per_page] => 100
[icl_st_auto_reg] => auto-always
[strings_language] => en
[translated-users] => Array
(
)

[track_strings] => 0
[hl_color] => #FFFF00
[auto_download_mo] => 1
[theme_localization_domains] => Array
(
[0] => lens_txtd
[1] => woocommerce
[2] => woothemes
[3] =>
)

)

[icl_capabilities_verified] => 1
[icl_lang_sel_stype] => classic
[icl_lang_sel_orientation] => vertical
[icl_lang_sel_copy_parameters] =>
[languages_order] => Array
(
[0] => de
[1] => en
)

[urls] => Array
(
[directory_for_default_language] => 0
[show_on_root] =>
[root_html_file_path] =>
[root_page] => 0
[hide_language_switchers] => 1
)

[taxonomies_sync_option] => Array
(
[product_cat] => 1
[product_tag] => 1
[lens_portfolio_categories] => 1
[lens_gallery_categories] => 1
[product_type] => 1
[product_shipping_class] => 1
[shop_order_status] => 1
)

[custom_posts_sync_option] => Array
(
[product] => 1
[product_variation] => 0
[shop_coupon] => 0
[shop_order] => 0
[wc_product_tab] => 1
[attachment] => 1
[portfolio] => 1
[homepage_slide] => 1
[testimonial] => 1
[wpcf7_contact_form] => 1
[lens_portfolio] => 0
[lens_gallery] => 0
)

[site_id] => 34848
[access_key] => 7ba17144a4b149c77eb045c3703bd6ee
[icl_account_email] =>
[icl_balance] => 0.0
[icl_anonymous_user] => 1
[icl_html_status] => <p class="icl_status_jobs">Jobs sent to ICanLocalize: 0 - <a class="icl_thickbox " href="admin.php?page=sitepress-multilingual-cms/menu/languages.php&icl_action=reminder_popup&unload_cb=icl_pt_reload_translation_box&target=http%3A%2F%2Fwww.icanlocalize.com%2Fwebsites%2F34848%2Fcms_requests%3Faccesskey%3D7ba17144a4b149c77eb045c3703bd6ee%26compact%3D1%26compact%3D1%26accesskey%3D7ba17144a4b149c77eb045c3703bd6ee">view jobs</a></p><p class="icl_status_project">A second translator can proofread the translation. Go to the <a class="icl_thickbox " href="admin.php?page=sitepress-multilingual-cms/menu/languages.php&icl_action=reminder_popup&unload_cb=icl_pt_reload_translation_box&target=http%3A%2F%2Fwww.icanlocalize.com%2Fwebsites%2F34848%3Faccesskey%3D7ba17144a4b149c77eb045c3703bd6ee%26compact%3D1%26compact%3D1%26accesskey%3D7ba17144a4b149c77eb045c3703bd6ee">project page</a> and enable review.</p><p class="icl_status_balance">Your balance at ICanLocalize is 0.00 USD. Visit your <a class="icl_thickbox " href="admin.php?page=sitepress-multilingual-cms/menu/languages.php&icl_action=reminder_popup&unload_cb=icl_pt_reload_translation_box&target=http%3A%2F%2Fwww.icanlocalize.com%2Ffinance%3Faccesskey%3D7ba17144a4b149c77eb045c3703bd6ee%26compact%3D1%26wid%3D34848%26compact%3D1%26accesskey%3D7ba17144a4b149c77eb045c3703bd6ee">ICanLocalize finance</a> page to make a new deposit.</p><p class="icl_status_help">For any help with this project, visit the <a class="icl_thickbox " href="admin.php?page=sitepress-multilingual-cms/menu/languages.php&icl_action=reminder_popup&unload_cb=icl_pt_reload_translation_box&target=http%3A%2F%2Fwww.icanlocalize.com%2Fsupport%3Faccesskey%3D7ba17144a4b149c77eb045c3703bd6ee%26compact%3D1%26wid%3D34848%26compact%3D1%26accesskey%3D7ba17144a4b149c77eb045c3703bd6ee">support center</a></p>
[icl_support_ticket_id] => 0
[last_get_translator_status_call] => 1398414821
[snapshot_word_count] => Array
(
[total] => Array
(
[English] => Array
(
[German] => 503
)

)

[finished] => Array
(
[English] => Array
(
[German] => 245
)

)

)

[hidden_languages] => Array
(
)

[show_translations_flag] => 1
[hide_professional_translation_controls] => 1
[just_reactivated] => 0
[edit_languages_flag_migration] => 1
)

------------------------------------
Kindest regards,

Gerard

Bildschirmfoto 2014-04-27 um 19.07.15.png
Bildschirmfoto 2014-04-27 um 19.00.21.png
April 28, 2014 at 5:56 am #388523

Rupashree Mane Hadke

Hello Gerard,

Thank you for contacting WPML support.

Can you please try troubleshooting options

Go to wpml > support > troubleshooting

On troubleshooting page click following buttons
- Remove ghost entries from translations table
- General clean up button
- Set language information button

Thanks,
Rupa

April 28, 2014 at 7:55 am #388628

Gerard

Dearest Rupa,

Thank you very much for your kind and appreciated feedback.

we have performed the 3 actions as suggested by you but unfortunatelly there is no change.

What do you suggest to do next?

Looking forward to your further feedback and support I remain,

I am glad to offer you access (WP & FTP) so you can taker a closer look if you feel that helps you.

with my kindest regards,

Gérard

April 28, 2014 at 10:20 am #388810

Rupashree Mane Hadke

Hello Gerard,

This problem happens when setting up the language tables takes too long and the DB times out. The recent version of WPML, currently in beta, should fix this.

Can you try to install WPML 3.1.5?

To get it go to your WPML.org account, click on Downloads and scroll all the way to the bottom. Get the 'Beta Package'. Unzip it. You will find all of WPML's component. Upload the ones that you need.

This update will produce a more friendly message, with steps that you can take to retry WPML's language setup. You will need to go to WPML->Support->Troubleshooting and retry the table setup.

Since these problems usually happen when the server is loaded with other things, it very rarely happens 2 times in a row. The retry sequence should get you going. Give it a couple of minutes, to slowly populate the entire languages table.

Let us know if problems continue after this update.

Thanks,
Rupa

May 27, 2014 at 2:37 pm #408126

Gerard

Your advices worked well. Thanks a lot.