Fixing the 'Checking extensions compatibility...' Stuck Import in All-in-One WP Migration
Content
Why Your All-in-One WP Migration Import Gets Stuck
A common and frustrating issue users encounter with the All-in-One WP Migration plugin is the import process freezing at the "Checking extensions compatibility..." stage. Based on community reports and troubleshooting threads, this problem can stem from several underlying causes, most commonly related to server configuration, file permissions, or a specific bug within the plugin.
Common Causes and Their Solutions
1. The "Division by Zero" Bug
Several user reports, including recent ones from late 2024, point to a specific PHP error causing this hang-up:
PHP Fatal error: Uncaught DivisionByZeroError: Division by zero in .../all-in-one-wp-migration/lib/model/import/class-ai1wm-import-validate.php
This error appears to be a bug within the plugin's validation logic. When the plugin cannot determine the size of the uploaded .wpress file (see the related filesize(): stat failed error), a calculation divides by zero, crashing the process.
What to do: This is an issue that likely requires a patch from the plugin developers. Keep your plugin updated to the latest version, as the 'All-in-One WP Migration and Backup' team may have addressed it in a recent release.
2. Server Configuration and Upload Limits
Even if the export worked perfectly, the import process can fail due to server constraints on the destination server.
- HTTP 413 Error: This error in your browser's console (
POST ... 413) means the request entity is too large. Your server (often NGINX) or hosting provider has a limit on the size of a request. - PHP Memory and Execution Time: The compatibility check involves scanning files, which can timeout on slower servers or sites with many files.
What to do:
- Contact your hosting provider and ask them to increase the
client_max_body_size(for NGINX) and thepost_max_size&upload_max_filesize(in PHP settings) to be larger than your backup file. - Try increasing the
max_execution_timeandmemory_limitin yourphp.inifile.
3. File Permissions and Missing Files
The error filesize(): stat failed for /path/to/file.wpress indicates the plugin cannot find or read the archive it just uploaded.
What to do:
- Check the permissions of the
wp-content/plugins/all-in-one-wp-migration/storage/directory. The web server (e.g., www-data) needs write permissions to this folder to save and read the uploaded file. - Ensure there is enough disk space on the server for the extraction process.
4. Plugin or Theme Conflicts
While the check is for "extensions" (the plugin's add-ons), conflicts with other plugins or themes can sometimes cause unexpected behavior.
What to do:
- As a test, try creating a fresh WordPress installation on the same server and only install the All-in-One WP Migration plugin. Attempt the import. If it works, a conflict on your main site is likely.
- Enable WP_DEBUG before importing. Open a new browser tab and load your site's homepage. Any fatal errors that appear could reveal the conflicting plugin or theme.
Summary of Troubleshooting Steps
- Update Everything: Ensure the All-in-One WP Migration plugin is updated to the latest version.
- Check Server Logs: Look in your server's error log and the
wp-content/plugins/all-in-one-wp-migration/storage/error.logfile for specific PHP errors. - Verify Server Limits: Confirm your PHP and web server configurations allow for large file uploads and long execution times.
- Check File Permissions: Ensure the plugin's
/storage/directory is writable. - Test for Conflicts: Use a default theme (like Twenty Twenty-Four) and disable all other plugins as a test.
By methodically working through these potential causes, you can identify and resolve the issue that is halting your website migration.
Related Support Threads Support
-
PHP Fatal error: Uncaught Error: Call to undefined function get_home_path()https://wordpress.org/support/topic/php-fatal-error-uncaught-error-call-to-undefined-function-get_home_path/
-
Stuck at ‘Checking extensions compatibility…’ During importhttps://wordpress.org/support/topic/stuck-at-checking-extensions-compatibility-during-import-2/
-
jQuery Errorhttps://wordpress.org/support/topic/jquery-error-84/
-
Stop import on “Checking extensions compatibility”.https://wordpress.org/support/topic/stop-import-on-checking-extensions-compatibility/
-
DivisionByZero error when importinghttps://wordpress.org/support/topic/divisionbyzero-error-when-importing-2/
-
Import Issue backup file stuck at 100%https://wordpress.org/support/topic/import-issue-backup-file-stuck-at-100/
-
the import is hanging and fatal error on sitehttps://wordpress.org/support/topic/the-import-is-hanging-and-fatal-error-on-site/
-
Division by Zero Error on Importhttps://wordpress.org/support/topic/division-by-zero-error-on-import/
-
DivisionByZero error when importinghttps://wordpress.org/support/topic/divisionbyzero-error-when-importing/
-
Error when uploading filehttps://wordpress.org/support/topic/error-when-uploading-file/
-
Import freezehttps://wordpress.org/support/topic/import-freeze/
-
100% import errorhttps://wordpress.org/support/topic/100-import-error/
-
Import gets stuck – no error givenhttps://wordpress.org/support/topic/import-gets-stuck-no-error-given/
-
Failed Import filehttps://wordpress.org/support/topic/failed-import-file/
-
Import stuck at 100%https://wordpress.org/support/topic/import-stuck-at-100-5/
-
Error progress at importhttps://wordpress.org/support/topic/error-progress-at-import/
-
Stuck at ‘Checking extensions compatibility…’ During importhttps://wordpress.org/support/topic/stuck-at-checking-extensions-compatibility-during-import/
-
Import error immediately after beginninghttps://wordpress.org/support/topic/import-error-immediately-after-beginning/
-
Upload stuck at 2%https://wordpress.org/support/topic/upload-stuck-at-2/
-
Still stuck at 100% with the instructions given abovehttps://wordpress.org/support/topic/still-stuck-at-100-with-the-instructions-given-above/
-
Error 8192 when importinghttps://wordpress.org/support/topic/error-8192-when-importing/
-
Errors with Import Regarding Japanese Charactershttps://wordpress.org/support/topic/errors-with-import-regarding-japanese-characters/
-
infinite “Extension compatibility check…” error at the time of importationhttps://wordpress.org/support/topic/infinite-extension-compatibility-check-error-at-the-time-of-importation/
-
Error importing a websitehttps://wordpress.org/support/topic/error-importing-a-website/
-
Import stuck at 100% and 404 in consolehttps://wordpress.org/support/topic/import-stuck-at-100-and-404-in-console/
-
Import Process Hangs at 0% – Strict Origin When Cross Originhttps://wordpress.org/support/topic/import-process-hangs-at-0-strict-origin-when-cross-origin/
-
Stuck at 100 on brand new sitehttps://wordpress.org/support/topic/stuck-at-100-on-brand-new-site/
-
import wont starthttps://wordpress.org/support/topic/import-wont-start-2/
-
Import (File) – Stuck: Checking extensions compatibilityhttps://wordpress.org/support/topic/import-file-stuck-checking-extensions-compatibility/
-
import jumps from ~6% to 100% and gets stuckhttps://wordpress.org/support/topic/import-jumps-from-6-to-100-and-gets-stuck/
-
PHP error during importinthttps://wordpress.org/support/topic/php-error-during-importint/
-
Bug Uncaught DivisionByZeroErrorhttps://wordpress.org/support/topic/bug-uncaught-divisionbyzeroerror/
-
Bug During Site Importhttps://wordpress.org/support/topic/bug-during-site-import/
-
Javascript AJAX error at start of uploadhttps://wordpress.org/support/topic/javascript-ajax-error-at-start-of-upload/
-
WPForo kills Import Process – stuck at “Done preparing Blogs”https://wordpress.org/support/topic/wpforo-kills-import-process-stuck-at-done-preparing-blogs/
-
Import Stuck at 100% + 413 POST & Uncaught Console Errorshttps://wordpress.org/support/topic/import-stuck-at-100-413-post-uncaught-console-errors/