• Resolved ulim

    (@ulim)


    Upon importing my site I get stuck at “überprüfe Kompatibilit?t der Erweiterungen” and the Apache log says:

    AH01071: Got error 'PHP message: PHP Fatal error: Uncaught DivisionByZeroError: Division by zero in [***]/wp-content/plugins/all-in-one-wp-migration/lib/model/import/class-ai1wm-import-validate.php:79\nStack trace:\n#0 /data/www/wordpress/wp-content/plugins/all-in-one-wp-migration/lib/controller/class-ai1wm-import-controller.php(73): Ai1wm_Import_Validate::execute()\n#1 /data/www/wordpress/wp-includes/class-wp-hook.php(307): Ai1wm_Import_Controller::import()\n#2 [***]/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()\n#3 [***]/wp-includes/plugin.php(476): WP_Hook->do_action()\n#4 [***]/wp-admin/admin-ajax.php(187): do_action()\n#5 {main}\n thrown in [***]/wp-content/plugins/all-in-one-wp-migration/lib/model/import/class-ai1wm-import-validate.php on line 79', referer: [***]/wp-admin/admin.php?page=ai1wm_import

    This is self-hosted WordPress on Apache2 and uploading from a local file, so likely no network issues.

    • This topic was modified 2 years, 2 months ago by ulim.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter ulim

    (@ulim)

    I corrected a typo and got flagged as spam. Great.

    Plugin Author Yani

    (@yaniiliev)

    Look at your PHP error log or apache log. It is likely an error during the upload.

    Please read this guide: How to Increase Maximum Upload File Size in WordPress

    The easiest way to figure out the problem is to request error logs from your hosting provider for your website, then examine them around the time when you tried to upload the file.
    You will see what limit you have encountered and increasing it will solve the issue.

    The settings in PHP that you likely need to adjust are:

    • upload_max_filesize – set this to a value > than your backup
    • post_max_size – set this to a value > than your backup
    • memory_limit – set this to a value > than your backup
    • max_execution_time – set this to 0 (infinite)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Division by Zero Error on Import’ is closed to new replies.