Fatal PHP errors during import products, import failed
-
hi,
I tried to do an import, and after 53% I get a total server error. This is caused by your plugin, so the import does not work.
Any tips on how to fix please ?
Backend fatal error: PHP Fatal error: Uncaught TypeError: array_filter(): Argument #1 ($array) must be of type array, bool given in /privacyredacted.com/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/translation-jobs/class-wpml-element-translation-package.php:319\nStack trace:\n#0 /privacyredacted.com/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/translation-jobs/class-wpml-element-translation-package.php(319): array_filter()\n#1 /privacyredacted.com/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/translation-jobs/class-wpml-element-translation-package.php(92): WPML_Element_Translation_Package->add_custom_field_contents()\n#2 /privacyredacted.com/public_html/wp-content/plugins/sitepress-multilingual-cms/inc/actions/wpml-tm-action-helper.class.php(13): WPML_Element_Translation_Package->create_translation_package()\n#3 /privacyredacted.com/public_html/wp-content/plugins/sitepress-multilingual-cms/inc/actions/wpml-tm-post-actions.class.php(72): WPML_TM_Action_Helper->create_translation_package()\n#4 /privacyredacted.com/public_html/wp-content/plugins/sitepress-multilingual-cms/inc/functions-load-tm.php(947): WPML_TM_Post_Actions->save_post_actions()\n#5 /privacyredacted.com/public_html/wp-includes/class-wp-hook.php(324): wpml_tm_save_post()\n#6 /privacyredacted.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()\n#7 /privacyredacted.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()\n#8 /privacyredacted.com/public_html/wp-content/plugins/sitepress-multilingual-cms/inc/post-translation/wpml-post-translation.class.php(213): do_action()\n#9 /privacyredacted.com/public_html/wp-content/plugins/sitepress-multilingual-cms/inc/post-translation/wpml-admin-post-actions.class.php(123): WPML_Post_Translation->after_save_post()\n#10 /privacyredacted.com/public_html/wp-includes/class-wp-hook.php(326): WPML_Admin_Post_Actions->save_post_actions()\n#11 /privacyredacted.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()\n#12 /privacyredacted.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()\n#13 /privacyredacted.com/public_html/wp-includes/post.php(4891): do_action()\n#14 /privacyredacted.com/public_html/wp-includes/post.php(4993): wp_insert_post()\n#15 /privacyredacted.com/public_html/wp-content/plugins/vj-wp-import-export/includes/classes/import/class-wpie-post.php(218): wp_update_post()\n#16 /privacyredacted.com/public_html/wp-content/plugins/vj-wp-import-export/includes/classes/import/class-wpie-import-engine.php(326): wpie\import\post\WPIE_Post->process_import_data()\n#17 /privacyredacted.com/public_html/wp-content/plugins/vj-wp-import-export/includes/classes/import/class-wpie-import-engine.php(93): wpie\import\engine\WPIE_Import_Engine->init_import_process()\n#18 /privacyredacted.com/public_html/wp-content/plugins/vj-wp-import-export/includes/classes/import/class-wpie-import.php(692): wpie\import\engine\WPIE_Import_Engine->wpie_import_data()\n#19 /privacyredacted.com/public_html/wp-content/plugins/vj-wp-import-export/includes/classes/import/class-wpie-import.php(602): wpie\import\WPIE_Import->wpie_import_process_data()\n#20 /privacyredacted.com/public_html/wp-content/plugins/vj-wp-import-export/includes/classes/import/class-wpie-import-actions.php(93): wpie\import\WPIE_Import->wpie_import_data()\n#21 /privacyredacted.com/public_html/wp-includes/class-wp-hook.php(324): wpie\import\WPIE_Import_Actions->wpie_import_site_data()\n#22 /privacyredacted.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()\n#23 /privacyredacted.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()\n#24 /privacyredacted.com/public_html/wp-admin/admin-ajax.php(192): do_action()\n#25 {main}\n thrown in /privacyredacted.com/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/translation-jobs/class-wpml-element-translation-package.php on line 319\n, referer: https://www.privacyredacted.com/wp-admin/admin.php?page=wpie-new-import
- You must be logged in to reply to this topic.