• Resolved vidya1194

    (@vidya1194)


    Im facing issue while trying to import file through WP All Import Pro. The size of import file is only 55Kb.
    PHP Version: 7.4.10
    WP All Import Pro Version: 4.6.2
    Wordpress Version: 5.4

    I have the following error that terminates the import after is completed

    PHP Fatal error: Uncaught Exception: Undefined field id. in /home/beamstaging/public_html/wp-content/plugins/wp-all-import-pro/models/model/record.php:148
    Stack trace:
    #0 /home/beamstaging/public_html/wp-content/plugins/wp-all-import-pro/controllers/admin/import.php(2735): PMXI_Model_Record->__get()
    #1 /home/beamstaging/public_html/wp-content/plugins/wp-all-import-pro/wp-all-import-pro.php(727): PMXI_Admin_Import->process()
    #2 /home/beamstaging/public_html/wp-includes/class-wp-hook.php(287): PMXI_Plugin->adminInit()
    #3 /home/beamstaging/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()
    #4 /home/beamstaging/public_html/wp-includes/plugin.php(478): WP_Hook->do_action()
    #5 /home/beamstaging/public_html/wp-admin/admin.php(170): do_action()
    #6 {main}
    thrown in /home/beamstaging/public_html/wp-content/plugins/wp-all-import-pro/models/model/record.php on line 148

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WP All Import

    (@wpallimport)

    Hi @vidya1194,

    I have the following error that terminates the import after is completed

    So, the import is completing normally, but it terminates once it’s finished? If so, that usually happens due to recounting terms at the end of the import. Please try adding this code to your child theme’s functions.php file (or in a plugin like Code Snippets) and see if it fixes it:

    add_filter('wp_all_import_recount_terms_after_import', 'wpai_wp_all_import_recount_terms_after_import', 10, 2);
    function wpai_wp_all_import_recount_terms_after_import($is_recount_terms, $import_id){
    	return false;
    }

    Let me know how it goes.

    Plugin Author WP All Import

    (@wpallimport)

    Hi @vidya1194,

    I’m going to go ahead and mark this as resolved since it’s been inactive. If you still have questions about this, please open up a new topic.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Import getting terminated’ is closed to new replies.