• Resolved lenny4

    (@lenny4)


    When I import my backup (file), I got error for:

    POST : https://superpower-betting-exchange.com/wp-admin/admin-ajax.php?action=ai1wm_import&ai1wm_import=1

    with form data: action=ai1wm_import&ai1wm_import=1&ai1wm_manual_import=1&storage=gofn852deuqe&archive=superpower-betting-exchange-com-wordpress-20250819-115136-7dqw970w0hff.wpress&file=1&secret_key=MY_SECRET&priority=50

    it returns a 500

    In the log I got:

    {“level”:”error”,”ts”:1755607870.760948,”msg”:”PHP Fatal error: Uncaught DivisionByZeroError: Division by zero in /var/www/html/wp-content/plugins/all-in-one-wp-migration/lib/model/import/class-ai1wm-import-validate.php:86\nStack trace:\n#0 /var/www/html/wp-content/plugins/all-in-one-wp-migration/lib/controller/class-ai1wm-import-controller.php(77): Ai1wm_Import_Validate::execute(Array)\n#1 /var/www/html/wp-includes/class-wp-hook.php(324): Ai1wm_Import_Controller::import(Array)\n#2 /var/www/html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)\n#3 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)\n#4 /var/www/html/wp-admin/admin-ajax.php(192): do_action(‘wp_ajax_ai1wm_i…’)\n#5 {main}\n thrown in /var/www/html/wp-content/plugins/all-in-one-wp-migration/lib/model/import/class-ai1wm-import-validate.php on line 86″,”syslog_level”:”err”}

    All GET requests returns 200 like: https://superpower-betting-exchange.com/wp-admin/admin-ajax.php?action=ai1wm_status&ai1wm_import=1&secret_key=MY_SECRET&_=1755607548486
    always returns {“type”:”info”,”message”:”Checking for compatibility…”}

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter lenny4

    (@lenny4)

    Hi,

    Do you need anymore information ? Are you working on it ?

    Thanks

    Plugin Author Yani

    (@yaniiliev)

    Hi Lenny4,

    I hope you are well.
    The issue means that the import file does not exist. Please refer to this guide:

    1. Large file operations may exceed default script execution times, leading to timeouts. Increase the max_execution_time in your php.ini file:
    max_execution_time = 300 // You may need to increase it further depending on the backup size

    2. Ensure that your server configuration supports large file operations. This includes settings in php.ini for upload_max_filesize and post_max_size:

    upload_max_filesize = 4096M
    post_max_size = 4096M

    Adjust these values as necessary to accommodate your backup file size.

    3. For handling particularly large backups more efficiently, consider using the Unlimited Extension. This extension enhances the plugin’s capabilities, particularly in terms of handling large file sizes and extending execution times, making it ideal for larger backups like yours.

    4. Monitor your server resource usage (CPU, RAM) during the restoration process. Insufficient resources can cause the process to halt unexpectedly.

    5. If you continue to encounter issues despite these adjustments, I recommend reaching out to a professional for more personalized assistance.

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

The topic ‘Bug Uncaught DivisionByZeroError’ is closed to new replies.