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.

Elementor users - please update WPML to the latest version to maintain compatibility. More details here - https://wpml.org/changelog/2024/12/wpml-4-6-15-critical-update-for-elementor-sites/
Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 17:00 8:00 – 17:00 8:00 – 17:00 8:00 – 17:00 8:00 – 17:00 -
- - - - - - -

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

This topic contains 0 replies, has 0 voices.

Last updated by Paola Mendiburu 4 days, 15 hours ago.

Assisted by: Paola Mendiburu.

Author Posts
December 13, 2024 at 8:28 am #16510340

tomislavV-4

Background of the issue:
I am trying to update some custom fields (availability_date, available_on_backorder) on existing products using WPML. Each product has its own ID for default and translated versions, so that should not be a problem. When importing a test xlsx file with one product, it works fine. However, when importing the final xlsx file with 13,000 products, it updated approximately 670 products, skipped 600, and then stopped. After several attempts to continue, the server stopped the import. I have a VPS with high parameters for script execution time. I have asked WP ALL IMPORT for support, but they directed me to you. Greška vrste E_ERROR je prouzročena u retku 860 datoteke /home/kulthome/public_html/wp-content/plugins/woocommerce-multilingual/inc/translation-editor/class-wcml-synchronize-product-data.php. Poruka greške: Uncaught TypeError: array_keys(): Argument #1 ($array) must be of type array, bool given in /home/kulthome/public_html/wp-content/plugins/woocommerce-multilingual/inc/translation-editor/class-wcml-synchronize-product-data.php:860

Symptoms:
The import process stopped after updating approximately 670 products and skipping 600. An error occurred: Uncaught TypeError: array_keys(): Argument #1 ($array) must be of type array, bool given in /home/kulthome/public_html/wp-content/plugins/woocommerce-multilingual/inc/translation-editor/class-wcml-synchronize-product-data.php:860.

Questions:
Is it WPML or WP ALL IMPORT or SERVER related?

December 13, 2024 at 9:09 am #16510527

Paola Mendiburu
Supporter

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

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

Please let me know if https://wpml.org/forums/topic/an-error-of-type-e_error-was-caused-in-line-350-of-the-file-woocommerce-multilingual-inc-translation-editor-class-wcml-synchronize-product-data-php/ works.

December 13, 2024 at 9:44 am #16510634

tomislavV-4

Hi, syncing - "Sync product stock quantity and status" , "Fix translated variations relationships" and "Sync removed product meta from original products to translations"
is taking forever, witho no variaton products.
"Sync product stock quantity and status" - 8062 left
Sync removed product meta from original products to translations - 8062 left

Nothing is happening for over an hour. Any idea?
Thanks

December 13, 2024 at 1:40 pm #16511594

Paola Mendiburu
Supporter

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

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

I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Please let me know where I can see the error.

Our Debugging Procedures
I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.

Privacy and Security Policy
We have strict policies regarding privacy and access to your information. Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

**IMPORTANT**
- Please make a backup of the site files and database before providing us access.
- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box.
The private box looks like this: hidden link

December 13, 2024 at 2:11 pm #16511646

tomislavV-4

Hello, can you please make new private options. Thanl you. Regards.

December 13, 2024 at 3:58 pm #16512065

Paola Mendiburu
Supporter

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

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

You can find next answer as private.

December 16, 2024 at 5:01 pm #16518366

Paola Mendiburu
Supporter

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

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

Please let me know where I can reproduce the error that you are getting.

December 17, 2024 at 8:26 am #16520198

tomislavV-4

Hello, under all import / manage imports, you can try to run and continue All import Final_2000.xlsx or Final.xlsx imports. Ids 25 or 29.
Maybe they will run for some time, then sometimes server stoppes the import or error shows. Try to continue imports severeal times then error will show if it does not show the first time you run it.

December 18, 2024 at 11:35 am #16525517

Paola Mendiburu
Supporter

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

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

I am trying to reproduce the error.

I will let you know when I have some news.