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 20 replies, has 8 voices.

Last updated by Bruno Kos 6 months ago.

Assigned support staff: Bruno Kos.

Author Posts
April 19, 2019 at 6:25 am #3643693

Daniel Buvens

After upgrading to Woocommerce 3.6.1 I get an Internal Server Error on the wp-admin products page. (wp-admin/edit.php?post_type=product)

The server encountered an internal error or misconfiguration and was unable to complete your request.

At the front end this upgrqde also gave an error. However, after deactivating and reactivating WPML (4.6.0) the front end functions correctly again.

The error remains at the back end: products cannot be accessed.
Going through the front end, selecting a product and then clicking “edit product” does not work either. The edit page for the specific product is shown but altering it does not work. This gives a timeout/ internal server error.

I have confirmed that the problem is related to WPML / Woocommerce combination. I have deactivated all plugins and reactived them one by one. The problem appears when WPML is activated.
Please fix this a.s.a.p. because I cannot update or add or remove any products in this way.

The page I need help with: hidden link

April 19, 2019 at 6:26 am #3643695

Daniel Buvens

Please help, this screws up my site! I also noticed that there are suddenly price differences between the languages, so I have currently disabled the second language!!

April 19, 2019 at 8:07 am #3643969

Bruno Kos
Supporter

Languages: English (English )

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

Hi,

Thank you for contacting WPML support!

Before we investigate this issue further, could you make sure your server conforms to our minimum requirements?
https://wpml.org/home/minimum-requirements/

Based on provided debug information, I can see the following - WP Memory Limit: 40M.

Specifically, could you set WP Memory limit to at least 256MB and then let me know if this fixed your issue?
https://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

If unsure on how to set this, you can consult your host/server admin to do this. After you increase this value, you can confirm it by checking on WPML -> Support by finding the “Memory limit” value.

Another thing - I can also see the following:
WPML Multilingual CMS 4.2.0
Advanced Custom Fields Multilingual 1.0.4
...

Which means that all WPML plugins and addons don't use the latest versions. You can see the latest versions here:
https://wpml.org/account/downloads/

Therefore, can you update the plugins as well and tell if after you do both of the above, tell me if the issue is still there?

Regards,
Bruno Kos

April 19, 2019 at 8:20 am #3644113

Lorry Gombos

Hi Bruno, I get similar issue after upgrading to Woocommerce 3.6.1. and try to change from main language to other language translation I got 504 Gateway Time-out. It means probably that you need to fix issue and release new plugin updates.

April 19, 2019 at 9:36 am #3644569

matthewL-8

me too - we reverted to woocommerce 5.8 and wpml woocommerce 2.5
- it stuck on the variants

April 19, 2019 at 9:43 am #3644591

matthewL-8

sorry i meant Woocommerce 3.5.8 & WooCommerce Multilingual 4.5 (we installed 4.6 and it did a weird thing where it changed our .htaccess RewriteBase to the transalted language folder ie /es/ instead of just / - so we got a 500 on every page - fixing that - any look at the es products just produced a process that timed out. There is definitely an issue there - good luck! Nice Easter present for you!

April 19, 2019 at 10:42 am #3645019

ivanB-15

I have a similar problem after updating to Woocommerce 3.6.1. My shop page doesn't load at all. I get message: Fatal error: Maximum execution time of 90 seconds exceeded in .../www/wp-includes/class-wp-post.php on line 266 (I have memory limit 256MB).
I had to go back to Woocommerce 3.5.8.
Please let me know if I need to open a new ticket.
Thank you

April 20, 2019 at 7:05 am #3649587

Daniel Buvens

Upgraded wpml suite.
Upgraded php.
Upgraded memory limits.
Still same issue. Can’t edit products in the wp-admin.

April 20, 2019 at 7:16 am #3649637

Daniel Buvens

php":{"contact_form_maker":16},"sitepress-multilingual-cms\/sitepress.php":{"sitepress":1432,"installer":1211},"wpml-string-translation\/plugin.php":{"wpml-string-translation":440},"google-sitemap-generator\/sitemap.php":{"sitemap":228},"wysija-newsletters\/index.php":{"wysija-newsletters":1506},"sisow-for-woocommerce\/woocommerce-payment-sisow.php":{"woocommerce-sisow":85},"duplicator\/duplicator.php":{"duplicator":463},"wpml-sticky-links\/plugin.php":{"wpml-sticky-links":31},"wpml-cms-nav\/plugin.php":{"wpml-cms-nav":57},"wp-gdpr-compliance\/wp-gdpr-compliance.php":{"wp-gdpr-compliance":198},"woocommerce-eu-vat-assistant\/woocommerce-eu-vat-assistant.php":{"wc-aelia-eu-vat-assistant":362},"gutenberg\/gutenberg.php":{"gutenberg":1259},"cookie-law-info\/cookie-law-info.php":{"cookie-law-info":71},"all-in-one-wp-migration\/all-in-one-wp-migration.php":{"all-in-one-wp-migration":169},"mailpoet\/mailpoet.php":{"mailpoet":1599},"yith-woocommerce-product-bundles\/init.php":{"yith-woocommerce-product-bundles":278},"woocommerce-google-ads\/woocommerce-google-ads.php":{"woocommerce-google-ads":35},"wc-aelia-foundation-classes\/wc-aelia-foundation-classes.php":{"plugin-update-checker":5},"woorewards\/woorewards.php":{"woorewards":188,"woorewards-lite":190},"woocommerce-trusted-shops\/woocommerce-trusted-shops.php":{"woocommerce-trusted-shops":182}},"theme_localization_domains":{"storefront":{"storefront":161}},"WPML_ST_Upgrade_DB_Longtext_String_Value_has_run":true},"xliff_newlines":1,"tm_xliff_version":"12","default_categories":{"en":"1","nl":760,"fr":761},"default_language":"en","setup_wizard_step":4,"admin_text_3_2_migration_complete_75bb298da6ab2a87b0e2b9f28f2f5f1f":true,"admin_text_3_2_migration_complete_aca0342fc91150247c7367ad1b655ad1":true,"admin_text_3_2_migration_complete_7b754b70df5ea9e38cb278f8767f4272":true,"admin_text_3_2_migration_complete_40cd750bba9870f18aada2478b24840a":true,"admin_text_3_2_migration_complete_1b8497cb8d04f683c8b39f2fb2aa56ec":true,"admin_text_3_2_migration_complete_51300bb7889d4cee7205cc8868290020":true,"translation-management":{"notification":{"new-job":1,"completed":1,"resigned":1,"dashboard":true,"purge-old":7},"custom_fields_translation":{"title":2,"description":2,"keywords":2,"_edit_last":0,"_edit_lock":0,"_wp_page_template":0,"_wp_attachment_metadata":0,"original_post_id":0,"_wpml_original_post_id":0,"_wp_old_slug":0,"_icl_translator_note":0,"_alp_processed":0,"_pingme":0,"_encloseme":0,"_icl_lang_duplicate_of":0,"_thumbnail_id":0,"_wp_attached_file":0,"_backorders":1,"_crosssell_ids":2,"_default_attributes":0,"_download_limit":1,"_download_expiry":1,"_download_type":1,"_downloadable":1,"_file_paths":2,"_downloadable_files":2,"_featured":1,"_manage_stock":1,"_sku":1,"_stock":0,"_stock_status":1,"_sold_individually":1,"_subscription_length":1,"_subscription_period":1,"_subscription_period_interval":1,"_subscription_price":1,"_subscription_sign_up_fee":1,"_subscription_trial_length":1,"_subscription_trial_period":1,"_tax_class":1,"_tax_status":1,"_upsell_ids":2,"_virtual":1,"_visibility":1,"_weight":1,"_width":1,"_height":1,"_length":1,"_woocommerce_exclude_image":1,"total_sales":1,"_product_url":2,"_button_text":2,"_purchase_note":2,"_wcml_custom_prices_status":0,"_min_price_variation_id":0,"_min_regular_price_variation_id":0,"_min_sale_price_variation_id":0,"_max_price_variation_id":0,"_max_regular_price_variation_id":0,"_max_sale_price_variation_id":0,"attr_label_translations":0,"_per_product_pricing_active":1,"_pricing_rules":1,"_regular_price":1,"_sale_price":1,"_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,"_variation_description":2,"wcml_sync_hash":0,"wpml_language":0,"_product_attributes":0,"_wpml_media_duplicate":1,"_wpml_media_featured":1,"_regular_price_EUR":0,"_sale_price_EUR":0,"_price_EUR":0,"_min_variation_regular_price_EUR":0,"_min_variation_sale_price_EUR":0,"_min_variation_price_EUR":0,"_max_variation_regular_price_EUR":0,"_max_variation_sale_price_EUR":0,"_max_variation_price_EUR":0,"_sale_price_dates_from_EUR":0,"_sale_price_dates_to_EUR":0,"_wcml_schedule_EUR":0,"_children":2,"_yith_wcpb_bundle_data":1,"_wp_attachment_image_alt":2,"_cms_nav_minihome":1,"_cms_nav_section":2,"_top_nav_excluded":1,"_booking_option":1,"_booking_dates":1,"_booking_duration":1,"_custom_booking_duration":1,"_first_available_dates":1,"_booking_min":1,"_booking_max":1,"_booking_days":1,"_discount_data":1,"_ebdida_disabled_dates":1,"_ebp_product_prices":1,"auto_generate_coupon":1,"coupon_title_prefix":1,"coupon_title_suffix":1,"sc_coupon_validity":1,"validity_suffix":1,"sc_is_visible_storewide":1,"sc_disable_email_restriction":1,"is_pick_price_of_product":1,"_coupon_title":1,"send_coupons_on_renewals":1,"generated_from_order_id":1,"_subscription_limit":1,"_low_stock_amount":1,"wre_pool_point_stack":0,"wre_pool_type":0,"wre_pool_whitelist":0,"wre_pool_blacklist":0,"wre_pool_options":0,"wre_event_multiplier":0,"wre_event_type":0,"wre_event_include_shipping":0,"wre_event_threshold_effect":0,"wre_event_denominator":0,"wre_unlockable_cost":0,"wre_unlockable_type":0,"wre_unlockable_date_start":0,"wre_unlockable_date_end":0,"wre_unlockable_thumbnail":0,"wre_unlockable_grouped_title":0,"wre_unlockable_value":0,"wre_unlockable_percent":0,"wre_unlockable_timeout":0,"wre_pool_prefab":0},"custom_fields_readonly_config":["title","description","keywords","_edit_last","_edit_lock","_wp_page_template","_wp_attachment_metadata","original_post_id","_wpml_original_post_id","_wp_old_slug","_icl_translator_note","_alp_processed","_pingme","_encloseme","_icl_lang_duplicate_of","_thumbnail_id","_wp_attached_file","_wp_attachment_image_alt","_backorders","_crosssell_ids","_default_attributes","_download_limit","_download_expiry","_download_type","_downloadable","_file_paths","_downloadable_files","_featured","_manage_stock","_sku","_stock","_stock_status","_sold_individually","_subscription_length","_subscription_period","_subscription_period_interval","_subscription_price","_subscription_sign_up_fee","_subscription_trial_length","_subscription_trial_period","_tax_class","_tax_status","_upsell_ids","_virtual","_visibility","_weight","_width","_height","_length","_woocommerce_exclude_image","total_sales","_product_url","_button_text","_purchase_note","_wcml_custom_prices_status","_min_price_variation_id","_min_regular_price_variation_id","_min_sale_price_variation_id","_max_price_variation_id","_max_regular_price_variation_id","_max_sale_price_variation_id","attr_label_translations","_per_product_pricing_active","_pricing_rules","_regular_price","_sale_price","_price","_min_variation_regular_price","_min_variation_sale_price","_min_variation_price","_max_variation_regular_price","_max_variation_sale_price","_max_variation_price","_sale_price_dates_from","_sale_price_dates_to","_wcml_schedule","_variation_description","wcml_sync_hash","wpml_language","_product_attributes","_children","_subscription_limit","_low_stock_amount","auto_generate_coupon","coupon_title_prefix","coupon_title_suffix","sc_coupon_validity","validity_suffix","sc_is_visible_storewide","sc_disable_email_restriction","is_pick_price_of_product","_coupon_title","send_coupons_on_renewals","generated_from_order_id","_cms_nav_minihome","_cms_nav_section","_top_nav_excluded","_wpml_media_duplicate","_wpml_media_featured","_yith_wcpb_bundle_data"],"custom_fields_translation_custom":[],"custom_fields_translation_custom_readonly":[],"doc_translation_method":0,"__custom_types_readonly_config_prev":[],"custom_types_readonly_config":[],"__custom_fields_readonly_config_prev":["title","description","keywords","_edit_last","_edit_lock","_wp_page_template","_wp_attachment_metadata","original_post_id","_wpml_original_post_id","_wp_old_slug","_icl_translator_note","_alp_processed","_pingme","_encloseme","_icl_lang_duplicate_of","_thumbnail_id","_wp_attached_file","_wp_attachment_image_alt","_backorders","_crosssell_ids","_default_attributes","_download_limit","_download_expiry","_download_type","_downloadable","_file_paths","_downloadable_files","_featured","_manage_stock","_sku","_stock","_stock_status","_sold_individually","_subscription_length","_subscription_period","_subscription_period_interval","_subscription_price","_subscription_sign_up_fee","_subscription_trial_length","_subscription_trial_period","_tax_class","_tax_status","_upsell_ids","_virtual","_visibility","_weight","_width","_height","_length","_woocommerce_exclude_image","total_sales","_product_url","_button_text","_purchase_note","_wcml_custom_prices_status","_min_price_variation_id","_min_regular_price_variation_id","_min_sale_price_variation_id","_max_price_variation_id","_max_regular_price_variation_id","_max_sale_price_variation_id","attr_label_translations","_per_product_pricing_active","_pricing_rules","_regular_price","_sale_price","_price","_min_variation_regular_price","_min_variation_sale_price","_min_variation_price","_max_variation_regular_price","_max_variation_sale_price","_max_variation_price","_sale_price_dates_from","_sale_price_dates_to","_wcml_schedule","_variation_description","wcml_sync_hash","wpml_language","_product_attributes","_children","_subscription_limit","_low_stock_amount","auto_generate_coupon","coupon_title_prefix","coupon_title_suffix","sc_coupon_validity","validity_suffix","sc_is_visible_storewide","sc_disable_email_restriction","is_pick_price_of_product","_coupon_title","send_coupons_on_renewals","generated_from_order_id","_cms_nav_minihome","_cms_nav_section","_top_nav_excluded","_wpml_media_duplicate","_wpml_media_featured","_yith_wcpb_bundle_data"],"__custom_term_fields_readonly_config_prev":[],"custom_term_fields_readonly_config":[],"taxonomies_readonly_config":{"product_cat":1,"product_tag":1,"product_type":0,"shop_order_status":0,"product_shipping_class":1,"product_visibility":0,"translation_priority":1},"custom-types_readonly_config":{"product":1,"product_variation":1,"shop_coupon":0,"shop_order":0,"attachment":1},"post_translation_editor_native_for_post_type":[],"post_translation_editor_native":false},"custom_posts_sync_option":{"product":1,"product_variation":1,"shop_coupon":0,"shop_order":0,"attachment":1,"faq":1,"post":2,"page":1,"cookielawinfo":1},"taxonomies_sync_option":{"product_cat":1,"product_tag":1,"product_type":0,"shop_order_status":0,"product_shipping_class":1,"product_visibility":0,"category":1,"post_tag":1,"translation_priority":1,"pa_brand":1,"pa_gtin":1,"pa_mpn":1},"custom-types_sync_option":{"product":1,"product_variation":1,"shop_coupon":0,"shop_order":0,"attachment":1,"cookielawinfo":1},"language_selector_initialized":1,"site_key":"OSxFoAjAYf","admin_text_3_2_migration_complete_71f8b6f52f0382cd9104e0cf258fd0ab":true,"site_does_not_use_icl":true,"default_translators":{"en":{"nl":{"id":1,"type":"local"}}},"admin_text_3_2_migration_complete_532740e0fd9c53d7d9d470734f514a25":true,"theme_localization_load_textdomain":0,"gettext_theme_domain_name":false,"language_per_domain_sso_enabled":false,"show_untranslated_blog_posts":false,"show_translations_flag":1,"just_reactivated":0,"store_frontend_cookie":"1","admin_text_3_2_migration_complete_b5120ac38030bbacd25dde121bfc6ada":true,"admin_text_3_2_migration_complete_70f153ccfb3fae7f51b50673aaeddf14":true,"admin_text_3_2_migration_complete_9e4f3e5c81e1ff778993152870928a04":true,"tm_block_retranslating_terms":1,"hidden_languages":["nl"],"display_featured_image_as_translated":0,"admin_text_3_2_migration_complete_f89cd1e6193fb1b13d8093cc154ddbfb":true,"admin_text_3_2_migration_complete_7db3ec6c3f61dae5638fd52a5d207254":true,"WPML_Translate_Link_Target_Global_State":true,"dont_show_help_admin_notice":true,"edit_languages_flag_migration":1},"installer":{"version":"1.9.4","repositories":{"wpml":{"api-url":"https:\/\/api.wpml.org\/","products":"http:\/\/d2salfytceyqoe.cloudfront.net\/wpml33-products.json","subscription":{"key":"OSxFoAjAYf","data":{"subscription_type":6721,"expires":null,"status":"4"},"registered_by":1,"site_url":"https:\/\/www.canyonstore.eu\/belgium"}},"toolset":{"api-url":"https:\/\/api.toolset.com\/","products":"http:\/\/d7j863fr5jhrr.cloudfront.net\/toolset33-products.json","subscription":""}},"instances":{"\/var\/www\/vhosts\/canyonstore.eu\/httpdocs\/belgium\/wp-content\/plugins\/sitepress-multilingual-cms\/vendor\/otgs\/installer\/installer.php":{"bootfile":"\/var\/www\/vhosts\/canyonstore.eu\/httpdocs\/belgium\/wp-content\/plugins\/sitepress-multilingual-cms\/vendor\/otgs\/installer\/installer.php","version":"1.9.4","args":{"plugins_install_tab":1,"site_key_nags":[{"repository_id":"wpml","product_name":"WPML","condition_cb":[{"locale_utils":{},"footer_preview":false,"icl_translations_cache":null,"icl_language_name_cache":{"name":"language_name","cache_to_option":true,"cache_needs_saving":false},"icl_term_taxonomy_cache":null,"wpdb":{"show_errors":false,"suppress_errors":false,"last_error":"","num_queries":247,"num_rows":0,"rows_affected":0,"insert_id":18639723,"last_query":"SELECT option_value FROM wp_options WHERE option_name = \u0027yit_plugin_licence_activation\u0027 LIMIT 1","last_result":[],"queries":null,"prefix":"wp_","base_prefix":"wp_","ready":true,"blogid":0,"siteid":0,"tables":["posts","comments","links","options","postmeta","terms","term_taxonomy","term_relationships","termmeta","commentmeta","woocommerce_payment_tokenmeta","woocommerce_order_itemmeta","wc_product_meta_lookup"],"old_tables":["categories","post2cat","link2cat"],"global_tables":["users","usermeta"],"ms_global_tables":["blogs","blogmeta","signups","site","sitemeta","sitecategories","registration_log","blog_versions"],"comments":"wp_comments","commentmeta":"wp_commentmeta","links":"wp_links","options":"wp_options","postmeta":"wp_postmeta","posts":"wp_posts","terms":"wp_terms","term_relationships":"wp_term_relationships","term_taxonomy":"wp_term_taxonomy","termmeta":"wp_termmeta","usermeta":"wp_usermeta","users":"wp_users","blogs":null,"blogmeta":null,"blog_versions":null,"registration_log":null,"signups":null,"site":null,"sitecategories":null,"sitemeta":null,"field_types":{"post_author":"%d","post_parent":"%d","menu_order":"%d","term_id":"%d","term_group":"%d","term_taxonomy_id":"%d","parent":"%d","count":"%d","object_id":"%d","term_order":"%d","ID":"%d","comment_ID":"%d","comment_post_ID":"%d","comment_parent":"%d","user_id":"%d","link_id":"%d","link_owner":"%d","link_rating":"%d","option_id":"%d","blog_id":"%d","meta_id":"%d","post_id":"%d","user_status":"%d","umeta_id":"%d","comment_karma":"%d","comment_count":"%d","active":"%d","cat_id":"%d","deleted":"%d","lang_id":"%d","mature":"%d","public":"%d","site_id":"%d","spam":"%d"},"charset":"utf8","collate":"","func_call":"$db-\u003Equery(\u0022SELECT option_value FROM wp_options WHERE option_name = \u0027yit_plugin_licence_activation\u0027 LIMIT 1\u0022)","is_mysql":true,"categories":"wp_categories","post2cat":"wp_post2cat","link2cat":"wp_link2cat","payment_tokenmeta":"wp_woocommerce_payment_tokenmeta","order_itemmeta":"wp_woocommerce_order_itemmeta","wc_product_meta_lookup":"wp_wc_product_meta_lookup"}},"setup"]}]},"delegated":true},"\/var\/www\/vhosts\/canyonstore.eu\/httpdocs\/belgium\/wp-content\/plugins\/woocommerce-multilingual\/vendor\/otgs\/installer\/installer.php":{"bootfile":"\/var\/www\/vhosts\/canyonstore.eu\/httpdocs\/belgium\/wp-content\/plugins\/woocommerce-multilingual\/vendor\/otgs\/installer\/installer.php","version":"1.9.0","args":{"plugins_install_tab":1},"delegated":false}}}}}

April 23, 2019 at 9:46 am #3661483

Bruno Kos
Supporter

Languages: English (English )

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

Hi,

We've had WooCommerce Multilingual 4.6.1 update, WPML Core 4.2.6 update, TM, ST and other WPML addons updates. Can you first update all of these and tell me if the issue is still there?

Regards,
Bruno Kos

April 23, 2019 at 1:56 pm #3664491

alainc-12

Hi, we tried with the latest versions and still get timeout. We need a solution ASAP. I think is a problem with the new woos DB model, introducing wp_wc_product_meta_lookup table.
Environment:
Wordpress 5.1.1
Woocommerce 3.6.1
Woocommerce multilingual 4.6.1
WPML Multilingual CMS 4.2.6
String Translation 2.10.4
ranslation Management 2.8.5

Regards,
Mauricio

April 23, 2019 at 2:07 pm #3664519

igorN-6

Im having a similar issue, after updating woocommerce to 3.6.1 (from 3.5.8) background processes just choke the server.

Rolled back and everything is working fine with the latest version, except Woocommerce thats on 3.5.8

Funny/Sad thing... the staging website is working fine with the latest version.

April 23, 2019 at 2:09 pm #3664535

igorN-6

The Lorry Gombo's issue is normal after updating Woocommerce DB to latest version... easy fix, fo to yoursite.com/wp-admin/options-permalink.php and hit Save twice.

Ps.: I cant tag him to let him know this solution.

April 23, 2019 at 4:29 pm #3666195

stephenC-10

Hi having same issue after updating woocommerce 🙁

April 23, 2019 at 5:29 pm #3666517

Daniel Buvens

Every plugin is updated. Even the paying plugins that I did not intend to update, even those have been prolonged for another year (79 + 99 euro!)

I have then deactivated *all* plugins (yes, all!) and then reactivated in this order:
1) Woocommerce
[everything works fine]

2) Wommerce Multilingual
[everything works fine]

3) WPML Multilingual CMS
[everything works fine]

4) WPML Translation Management
[everything works fine]

5) WPML String Translation
[everything works fine]

6) WPMLMedia
…and we have an error: The server encountered an internal error or misconfiguration and was unable to complete your request.

Debug log: [23-Apr-2019 14:01:27 UTC] PHP Fatal error: Maximum execution time of 60 seconds exceeded in /var/www/vhosts/canyonstore.eu/httpdocs/belgium/wp-includes/class-wp-hook.php on line 288