Skip to content Skip to sidebar

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 0 reply, has 1 voice.

Last updated by jaakI 1 year, 8 months ago.

Assisted by: Shekhar Bhandari.

Author Posts
September 9, 2024 at 6:55 am #16153903

jaakI

Background of the issue:
I am trying to import new prices to the variations on my site hidden link using the WPML All Import plugin. The site has three languages: Italian (main), Estonian, and Finnish (hidden). My first attempt involved a simple file with Variation SKU and regular and sale price, updating custom fields _price, _regular_price, and _sale_price. This worked for simple products in Italian but not for variable products. My second attempt involved a full export of desired products in Italian, adding new prices using VLOOKUP, and importing the modified export with WP All Import, selecting Italian language.

Symptoms:
Server terminated process with a PHP Fatal error: Uncaught TypeError: array_filter(): Argument #1 ($array) must be of type array, bool given in /www/apache/domains/www.casetteinlegno24.it/htdocs/wp-content/plugins/sitepress-multilingual-cms/classes/translation-jobs/class-wpml-element-translation-package.php:319

Questions:
Why does the server terminate the process when importing new prices for variable products?
How can I successfully import new prices for variable products using WPML All Import?