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.

Tagged: 

This topic contains 7 replies, has 3 voices.

Last updated by Bruno Kos 12 months ago.

Assisted by: Bruno Kos.

Author Posts
April 27, 2023 at 8:17 pm #13553175

mattiR

I am trying to: import products using Wp All import pro

Link to a page where the issue can be seen:

I expected to see:

Instead, I got: It stuck @ 7% and neither increase nor terminate

Please make this private so I can share the login details

Untitled-3.jpg
April 28, 2023 at 1:05 pm #13557825

Andreas

Hi,

before your ticket is assigned to one of my colleagues, please allow me to walk you through some initial debugging steps. This will help speed up the support process.

May I ask you if you tried that ?

https://wpml.org/documentation/related-projects/wpml-all-import-plugin-website-import-with-wpml/importing-multiple-languages-with-wp-all-import-and-wpml/#disable-the-wp-all-import-speed-optimization-option

In case you didn't I would suggest carefully read our documentation and try to understand all the details.

Also, I would suggest splitting your import into small parts for the initial import and the you can continue as usual with updates or new imports.

Regards,
Andreas

May 1, 2023 at 7:30 pm #13566157

mattiR

I had gone through the above point, and this option is already disabled - Increase speed by disabling do_action calls in wp_insert_post during import.

Please assign this ticket to one of your colleagues.

May 2, 2023 at 7:23 am #13567379

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

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

Hi,

Please enable the WordPress debug log. This will allow us to see if any PHP errors are being produced.

1. Edit wp-config.php and insert the following lines (just before /* That's all, stop editing! Happy publishing. */ part)

define( 'WP_DEBUG', true);
define( 'WP_DEBUG_LOG', true);
define( 'WP_DEBUG_DISPLAY', false);

2. Reproduce the issue - try the import until gets stuck.

3. Locate the debug log in: /wp-content/debug.log

4. Paste the latest lines here. No need to paste the entire log file, just 20 lines or so will do. Please censor any sensitive information.

https://codex.wordpress.org/Debugging_in_WordPress

Regards,
Bruno Kos

May 4, 2023 at 12:52 am #13582327

mattiR

This is the error in loop after import stuck -
[04-May-2023 00:31:23 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'WCML_Synchronize_Product_Data' does not have a method 'delete_empty_post_meta_for_translations' in ../wp-includes/class-wp-hook.php on line 310

May 4, 2023 at 7:05 am #13583123

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

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

Hi,

Can you check this and try?
https://wpml.org/forums/topic/class-wcml_synchronize_product_data-does-not-have-a-method-delete_empty_post_/#post-12011599

Regards,
Bruno Kos

May 5, 2023 at 3:25 am #13590579

mattiR

With above solution, the error in log file gone, but the import still stuck @ 7 %

May 5, 2023 at 8:31 am #13591911

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

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

Hi,

Can I ask you the following? In order to debug this issue, I will install Duplicator plugin, will create packages and will try this on my localhost and escalate further to 2nd tier.

I will exclude all the media files, etc, to keep the package minimal.

https://wpml.org/faq/provide-supporters-copy-site/

Let me know if this is OK with you.

Also, let me know where is the import file I need to run in order to see the issue.

Regards,
Bruno Kos

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.