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.

WordPress 6.7 has introduced a new issue that impact translations, please update WooCommerce and WPML to the latest versions before you report issues. More about this here - https://wpml.org/errata/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called/
Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 -
- 13:00 – 15:00 13:00 – 15:00 13:00 – 15:00 13:00 – 15:00 13:00 – 15:00 -

Supporter timezone: Europe/Madrid (GMT+01:00)

This topic contains 0 replies, has 0 voices.

Last updated by Carlos Rojas 3 days, 6 hours ago.

Assisted by: Carlos Rojas.

Author Posts
November 27, 2024 at 12:01 pm #16448871

danielK-111

Background of the issue:
I am trying to go into WooCommerce product, variation type, in order to modify translation of attributes. I encountered an error when accessing the translation screen. Link to a page where the issue can be seen: hidden link

Symptoms:
There has been a critical error on this website. Error Details: An error of type E_ERROR was caused in line 375 of the file /srv/htdocs/wp-content/plugins/woocommerce-multilingual/inc/translation-editor/class-wcml-editor-ui-product-job.php. Error message: Uncaught TypeError: key(): Argument #1 ($array) must be of type array, null given.

Questions:
How can I resolve the critical error when modifying translation of attributes in WooCommerce?
What steps should I take if deactivating and reactivating the WPML plugin did not help?

November 27, 2024 at 12:19 pm #16449107

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

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

Hello,
Thank you for contacting us

I need to take a closer look at the site configuration and the error. I have set your next message private so you can securely share the access credentials to the site.

Please don't forget to create a full site backup before sharing the credentials.

Regards,
Carlos

November 27, 2024 at 1:23 pm #16449991

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

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

Thank you for sharing this information.

Before we continue I need to ask you to create a full site backup and update all outdated plugins and themes that appear in this link: hidden link then double-check if the issue disappeared.

November 27, 2024 at 1:48 pm #16450175

danielK-111

this is IMPOSSIBLE at the moment.

since some plugins cause issues, we can't do updates of all plugins\themes. That is why we are preparing new site version,

I want to assure you that this issue is not related in any way to the plugins which are not updated, and is fullly related to WPML ( on new site, which is in staging, we have all plugins updated, and issue exist there, as i described before,)

November 27, 2024 at 1:54 pm #16450206

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

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

I understand.

I found and solved a small issue on the database. I also found that the Shop page is not created, so I kindly ask you to create the shop page and translate it.

Then (if possible) I recommend you to update at least the Woocommerce plugin and double-check if the issue disappeared.

November 27, 2024 at 4:09 pm #16451003

danielK-111

I wrote you, previous msg,

I HAVE STAGING SITE, where all plugins, themes, wordpress core UPDATED.
and the issue is same, I CAN NOT enter translation
getting error:

There has been a critical error on this website. Please check your site admin email inbox for instructions. If you continue to have problems, please try the support forums.

Learn more about troubleshooting WordPress.

I can share with you login details of staging site, where all plugins updated, but the issue is still there..

November 28, 2024 at 10:39 am #16454323

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

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

Hi,

Please share the access credentials to the staging site in your next message, and don't forget to create a full site backup before sharing the credentials.

I will take a look at the configuration and see if there is any other problem.

November 28, 2024 at 11:29 am #16454592

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

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

Thank you for sharing the credentials.

Please check if the issue in hidden link disappeared.

November 28, 2024 at 12:04 pm #16454870

danielK-111

Hi Carlos,

No,
See attached image, where i click.
here error i get:

Warning: Undefined array key "_file_paths93368" in /home/wydajnyteam/domains/staging-coinlooting-final.wydajnyteam.pl/public_html/wp-content/plugins/woocommerce-multilingual/inc/translation-editor/class-wcml-editor-ui-product-job.php on line 375

Fatal error: Uncaught TypeError: key(): Argument #1 ($array) must be of type array, null given in /home/wydajnyteam/domains/staging-coinlooting-final.wydajnyteam.pl/public_html/wp-content/plugins/woocommerce-multilingual/inc/translation-editor/class-wcml-editor-ui-product-job.php:375 Stack trace: #0 /home/wydajnyteam/domains/staging-coinlooting-final.wydajnyteam.pl/public_html/wp-content/plugins/woocommerce-multilingual/inc/translation-editor/class-wcml-editor-ui-product-job.php(375): key() #1 /home/wydajnyteam/domains/staging-coinlooting-final.wydajnyteam.pl/public_html/wp-content/plugins/woocommerce-multilingual/inc/translation-editor/class-wcml-editor-ui-product-job.php(241): WCML_Editor_UI_Product_Job->add_custom_fields_ui_section() #2 /home/wydajnyteam/domains/staging-coinlooting-final.wydajnyteam.pl/public_html/wp-content/plugins/woocommerce-multilingual/inc/translation-editor/class-wcml-editor-ui-product-job.php(86): WCML_Editor_UI_Product_Job->add_elements() #3 /home/wydajnyteam/domains/staging-coinlooting-final.wydajnyteam.pl/public_html/wp-content/plugins/woocommerce-multilingual/inc/translation-editor/class-wcml-translation-editor.php(57): WCML_Editor_UI_Product_Job->__construct() #4 /home/wydajnyteam/domains/staging-coinlooting-final.wydajnyteam.pl/public_html/wp-includes/class-wp-hook.php(324): WCML_Translation_Editor->fetch_translation_job_for_editor() #5 /home/wydajnyteam/domains/staging-coinlooting-final.wydajnyteam.pl/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters() #6 /home/wydajnyteam/domains/staging-coinlooting-final.wydajnyteam.pl/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/menu/translation-editor/class-wpml-translation-editor-ui.php(342): apply_filters() #7 /home/wydajnyteam/domains/staging-coinlooting-final.wydajnyteam.pl/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/menu/translation-editor/class-wpml-translation-editor-ui.php(185): WPML_Translation_Editor_UI->filter_the_model() #8 /home/wydajnyteam/domains/staging-coinlooting-final.wydajnyteam.pl/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/menu/translation-editor/class-wpml-translation-editor-ui.php(91): WPML_Translation_Editor_UI->output_model() #9 /home/wydajnyteam/domains/staging-coinlooting-final.wydajnyteam.pl/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/menu/translation-queue/class-wpml-translations-queue.php(78): WPML_Translation_Editor_UI->render() #10 /home/wydajnyteam/domains/staging-coinlooting-final.wydajnyteam.pl/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/class-wpml-translation-management.php(373): WPML_Translations_Queue->display() #11 /home/wydajnyteam/domains/staging-coinlooting-final.wydajnyteam.pl/public_html/wp-includes/class-wp-hook.php(324): WPML_Translation_Management->translation_queue_page() #12 /home/wydajnyteam/domains/staging-coinlooting-final.wydajnyteam.pl/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #13 /home/wydajnyteam/domains/staging-coinlooting-final.wydajnyteam.pl/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #14 /home/wydajnyteam/domains/staging-coinlooting-final.wydajnyteam.pl/public_html/wp-admin/admin.php(259): do_action() #15 {main} thrown in /home/wydajnyteam/domains/staging-coinlooting-final.wydajnyteam.pl/public_html/wp-content/plugins/woocommerce-multilingual/inc/translation-editor/class-wcml-editor-ui-product-job.php on line 375
There has been a critical error on this website. Please check your site admin email inbox for instructions. If you continue to have problems, please try the support forums.

Learn more about troubleshooting WordPress.

Screenshot 2024-11-28 at 1.03.10 PM.png
November 28, 2024 at 12:29 pm #16454977

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

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

Thank you very much for your cooperation.

I have escalated this ticket to our 2nd tier of support where our specialists will take a deeper look at the issue and will isolate its cause.

I will keep you updated on the evolution of this ticket.