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 6 replies, has 2 voices.

Last updated by Marcos Vinicios Barreto 3 years, 11 months ago.

Assisted by: Marcos Vinicios Barreto.

Author Posts
June 18, 2021 at 2:44 pm #9026743

edoF

When trying to import: hidden link it shows the folling in the log:

3479645 writev(6, [{iov_base="LS\6\0\234\4\0\0", iov_len=8}, {iov_base="PHP Fatal error:
Uncaught Exception: No trid for product variation in secondary language, imposssible to
set _wcml_duplicate_of_variation in
/home/akaperformanc/domains/akaperformance.com/public_html/wp-content/plugins/wpml-all-import/wpml-all-import.php
:323\nStack trace:\n#0 /home/akaperformanc/domains/akaperformance.com/public_html/wp-includes/class-wp-hook.php(294)
: WPAI_WPML->saved_post(74421)\n
#1 /home/akaperformanc/domains/akaperformance.com/public_html/wp-includes/class-wp-hook.php(316): WP"..., iov_len=1172}], 2) = 1180

Tried different configurations but didnt work out. Any suggestions?

June 18, 2021 at 8:37 pm #9028651

Marcos Vinicios Barreto

Hello,

Thank you for contacting our support. From your reported issue I suppose you mean you are proceeding with the import process using WP All Import and WPML All Import plugins, right? If it is the case, I recommend you to give a look at this related ticket: https://wpml.org/forums/topic/problem-with-wpml-all-import/ before we move forward in a detailed issue investigation. Please, let me know if it helps, have a nice day.

June 20, 2021 at 1:22 pm #9033255

edoF

Hello Marcos,

Thanks for your reply. We indeed use the mentioned plugins.
We checked this ticket and still have the issue. Would you be able to check with me?

June 22, 2021 at 12:30 am #9041809

Marcos Vinicios Barreto

Hello,

Please, take a look at my previous private reply and let me know when the migration process is done. Thanks.

June 22, 2021 at 7:35 am #9043923

edoF

Hi Marcos,

Thanks for your message. The migration process is runnning and done in 4 hours.

June 23, 2021 at 1:28 pm #9055497

edoF

Hello Marcos,

Do you have any update for us?

Thanks!

June 23, 2021 at 6:48 pm #9057457

Marcos Vinicios Barreto

Hello,

Thank you for the updates and sorry for the bit of waiting here. I took a detailed look at this issue using the migrated copy, the import process is too long to complete, so, I have to wait it to finish in order to confirm if the actions took is taking effect to make the process to be finished properly. However, for now, you can try this approach in your website:

IMPORTANT: Please, note, a backup is required for security reasons and to avoid any data loss, you can use the https://wordpress.org/plugins/backupwordpress/ plugin for these backup needs.

1 - Make sure your memory limit available is properly set for your website, please, add the lines of code below to your wp-config.php file:

define('WP_MEMORY_LIMIT', '1024M');
define('WP_MAX_MEMORY_LIMIT', '1024M');

2 - Go to your WordPress Dashboard > WPML > Support click the 'Troubleshooting' link and perform these actions:

-Clear the Cache in WPML
-Remove ghost entries from the translation tables
-Fix element_type collation
-Fix WPML table collation
-Set language information
-Fix post type assignment for translations

3 - Now, you can proceed with the import process, in my tests so far it is going good.

Please, let me know if it helps, have a nice day.