• Resolved mike2972

    (@mike2972)


    First: This plugin is absolutely awesome. It’s one of its kind and it will help us migrate comments perfectly.

    However, I ran into a fatal error. This is the error:

    PHP Fatal error:  Uncaught Error: Call to undefined function wpie\import\comment\ansint() in /home/xxx/domains/xxx.xxx.com/public_html/wp-content/plugins/wp-import-export-lite/includes/classes/import/class-wpie-comment.php:88
    Stack trace:
    #0 /home/xxx/domains/xxx.xxx.com/public_html/wp-content/plugins/wp-import-export-lite/includes/classes/import/class-wpie-import-engine.php(326): wpie\import\comment\WPIE_Comment->process_import_data()
    #1 /home/xxx/domains/xxx.xxx.com/public_html/wp-content/plugins/wp-import-export-lite/includes/classes/import/class-wpie-import-engine.php(93): wpie\import\engine\WPIE_Import_Engine->init_import_process()
    #2 /home/xxx/domains/xxx.xxx.com/public_html/wp-content/plugins/wp-import-export-lite/includes/classes/import/class-wpie-import.php(686): wpie\import\engine\WPIE_Import_Engine->wpie_import_data()
    #3 /home/xxx/domains/xxx.xxx.com/public_html/wp-content/plugins/wp-import-export-lite/includes/classes/import/class-wpie-import.php(596): wpie\import\WPIE_Import->wpie_import_process_data()
    #4 /home/xxx/domains/xxx.xxx.com/public_html/wp-content/plugins/wp-import-export-lite/includes/classes/import/class-wpie-import-actions.php(93): wpie\import\WPIE_Import->wpie_import_data()
    #5 /home/xxx/domains/xxx.xxx.com/public_html/wp-includes/class-wp-hook.php(307): wpie\import\WPIE_Import_Actions->wpie_import_site_data()
    #6 /home/xxx/domains/xxx.xxx.com/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #7 /home/xxx/domains/xxx.xxx.com/public_html/wp-includes/plugin.php(474): WP_Hook->do_action()
    #8 /home/xxx/domains/xxx.xxx.com/public_html/wp-admin/admin-ajax.php(187): do_action()
    #9 {main}
      thrown in /home/xxx/domains/xxx.xxx.com/public_html/wp-content/plugins/wp-import-export-lite/includes/classes/import/class-wpie-comment.php on line 88

    When importing 1 comment it works great. But when importing multiple comments, at some point it generates this fatal error. Then just some comments are imported.

    Can you please help?

    • This topic was modified 3 years ago by mike2972.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author vjinfotech

    (@vjinfotech)

    Hi,

    Thanks for getting in touch.

    It’s typo mistake. We will fix and release update within 2 – 4 days

    Let me know if you have any questions

    Thanks and have a nice day

    Thread Starter mike2972

    (@mike2972)

    Ah, great. Thanks for the tip.

    For myself, I opened the file /wp-content/plugins/wp-import-export-lite/includes/classes/import/class-wpie-comment.php and on line 88 I changed the function there from ansint to absint. It works now.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Fatal Error on import’ is closed to new replies.