Background of the issue:
I have a site with WooCommerce and WPallimport. We have imports for main languages and also imports for multilingual content. We have scheduled imports via CLI. When trying to import in the main language, everything works as expected, but when trying to import the different language files, the system never completes the process. We have this log: Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class WCML_Synchronize_Product_Data does not have a method "delete_empty_post_meta_for_translations" in /home/photomet/www/wp-includes/class-wp-hook.php:326. Stack trace: #0 /home/photomet/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #1 /home/photomet/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #2 /home/photomet/www/wp-includes/meta.php(1068): do_action('deleted_post_me...', Array, 179265, '_wcml_average_r...', NULL) #3 /home/photomet/www/wp-includes/post.php(3758): delete_metadata_by_mid('post', 3918510) #4 /home/photomet/www/wp-content/plugins/wp-all-import-pro/addon-api/classes/post-data-importer.php(88): wp_delete_post('179265', true) #5 /home/photomet/www/wp-content/plugins/wp-all-import-pro/models/import/record.php(653): WpaiAddonAPIPMXI_Addon_Post_Data_Importer->delete_records(Array) #6 /home/photomet/www/wp-content/plugins/wp-all-import-pro/classes/cli.php(98): PMXI_Import_Record->execute(Object(Closure)) #7 [internal function]: PMXI_Cli->run(Array, Array) #8 hidden link): call_user_func(Array, Array, Array) #9 [internal function]: WP_CLIDispatcherCommandFactory::WP_CLIDispatcher{closure}(Array, Array) #10 hidden link): call_user_func(Object(Closure), Array, Array) #11 hidden link): WP_CLIDispatcherSubcommand->invoke(Array, Array, Array) #12 hidden link): WP_CLIRunner->run_command(Array, Array) #13 hidden link): WP_CLIRunner->run_command_and_exit() #14 hidden link): WP_CLIRunner->start() #15 hidden link): WP_CLIBootstrapLaunchRunner->process(Object(WP_CLIBootstrapBootstrapState)) #16 hidden link): WP_CLIbootstrap() #17 hidden link): include('hidden link...') #18 /usr/local/bin/wp(4): include('hidden link...') #19 {main} thrown in /home/photomet/www/wp-includes/class-wp-hook.php on line 326. Error: Παρουσιάστηκε ένα κρίσιμο σφάλμα σε αυτόν τον ιστότοπο. Μάθετε περισσότερα για την αποσφαλμάτωση του WordPress. Παρουσιάστηκε ένα κρίσιμο σφάλμα σε αυτόν τον ιστότοπο.
Symptoms:
The system never completes the process when trying to import different language files, and a fatal error occurs.
1. if you try to import the same XML with WPML All Import via UI and not CLI, do you still get the same error?
2. usually with WPML you need to do 2 (or more) import, one for each language on the site. Are you doing that? The error happens on the first import or when?
The topic ‘[Closed] I have a site with WooCommerce and WPallimport and the Multilingual import isn't working’ is closed to new replies.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.