• Resolved wehoit

    (@wehoit)


    Using WP Migrate Lite 2.7.6

    My site is pretty simple, but when I try to Export I get this error:

    The Export migration failed during the migration initialization stage.

    Internal Server Error

    Here’s the WP Migrate debug====================:

    site_url(): http://localhost/wordpress
    home_url(): http://localhost/wordpress
    site_path(): C:\xampp\htdocs\wordpress

    Database Name: wordpressdb11.1.25
    Table Prefix: wp_

    WordPress Version: 6.8.3

    WP Migrate DB: 2.7.6

    Web Server: ………………… Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.2.12
    PHP: ………………………. 8.2.12
    WP Memory Limit: ……………. 40M
    PHP Time Limit: …………….. 120
    Blocked External HTTP Requests: None
    fsockopen: …………………. Enabled
    OpenSSL: …………………… OpenSSL 3.0.11 19 Sep 2023
    cURL: ……………………… Enabled
    Enable SSL verification setting: No
    Opcache Enabled: ……………. Disabled

    MySQL: ………………. 10.4.32-MariaDB
    ext/mysqli: ………….. yes
    WP Locale: …………… en_US
    DB Charset: ………….. utf8mb4
    WPMDB_STRIP_INVALID_TEXT: No

    Debug Mode: … Yes
    Debug Log: …. Yes
    Debug Display: No
    Script Debug: No
    PHP Error Log: C:\xampp\htdocs\wordpress/wp-content/debug.log

    WP Max Upload Size: 40 MB
    PHP Post Max Size: 40 MB

    WPMDB Bottleneck: …… 1 MB
    Compatibility Mode: …. Yes
    Delay Between Requests: 0

    WP_HOME: ……. Not defined
    WP_SITEURL: …. Not defined
    WP_CONTENT_URL: http://localhost/wordpress/wp-content
    WP_CONTENT_DIR: C:\xampp\htdocs\wordpress/wp-content
    WP_PLUGIN_DIR: C:\xampp\htdocs\wordpress/wp-content/plugins
    WP_PLUGIN_URL: http://localhost/wordpress/wp-content/plugins

    Media Uploads
    Transfer Bottleneck: …… 40 MB
    Upload Folder Permissions: 777

    Themes & Plugins
    Transfer Bottleneck: ……… 40 MB
    Themes Permissions: ………. 777
    Plugins Permissions: ……… 777
    Must-Use Plugins Permissions: 777
    WP-Content Permissions: …… 777
    WP-Core Permissions: ……… 777

    Active Theme Name: Hiru
    Active Theme Folder: C:\xampp\htdocs\wordpress/wp-content/themes/hiru

    Active Plugins

    • WP Migrate Lite (v2.7.6) by WP Engine

    Must-Use Plugins

    • WP Migrate Lite Compatibility (v1.3) by Delicious Brains

    Log date: 2025/11/02 01:39:19

    Migration ID: 87d2afaa-a5eb-4b65-9ce2-dbe979cd4e59
    Intent: savefile
    Stages: tables | media_files | theme_files | plugin_files | other_files
    Action: cancel
    Error: MySQL export file not found.

    Log date: 2025/11/02 01:40:20

    Migration ID: 7742c3b6-d7dd-4713-85b9-11a24dae148d
    Intent: savefile
    Stages: tables | media_files | theme_files | plugin_files | other_files
    Action: cancel
    Error: MySQL export file not found.

    Here’s the WP Debug===========================

    [02-Nov-2025 01:35:31 UTC] PHP Fatal error: Uncaught Error: Class “ZipArchive” not found in C:\xampp\htdocs\wordpress\wp-content\plugins\wp-migrate-db\class\Common\FullSite\FullSiteExport.php:42
    Stack trace: 0 C:\xampp\htdocs\wordpress\wp-content\plugins\wp-migrate-db\class\Common\Migration\InitiateMigration.php(343): DeliciousBrains\WPMDB\Common\FullSite\FullSiteExport->create_export_zip(‘C:\xampp\htdocs…’, Array) 1 C:\xampp\htdocs\wordpress\wp-content\plugins\wp-migrate-db\class\Common\Migration\InitiateMigration.php(170): DeliciousBrains\WPMDB\Common\Migration\InitiateMigration->initiateLocalMigration(Array) 2 C:\xampp\htdocs\wordpress\wp-includes\rest-api\class-wp-rest-server.php(1292): DeliciousBrains\WPMDB\Common\Migration\InitiateMigration->ajax_initiate_migration(Object(WP_REST_Request)) 3 C:\xampp\htdocs\wordpress\wp-includes\rest-api\class-wp-rest-server.php(1125): WP_REST_Server->respond_to_request(Object(WP_REST_Request), ‘/mdb-api/v1/ini…’, Array, NULL) 4 C:\xampp\htdocs\wordpress\wp-includes\rest-api\class-wp-rest-server.php(439): WP_REST_Server->dispatch(Object(WP_REST_Request)) 5 C:\xampp\htdocs\wordpress\wp-includes\rest-api.php(459): WP_REST_Server->serve_request(‘/mdb-api/v1/ini…’) 6 C:\xampp\htdocs\wordpress\wp-includes\class-wp-hook.php(324): rest_api_loaded(Object(WP)) 7 C:\xampp\htdocs\wordpress\wp-includes\class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) 8 C:\xampp\htdocs\wordpress\wp-includes\plugin.php(565): WP_Hook->do_action(Array) 9 C:\xampp\htdocs\wordpress\wp-includes\class-wp.php(418): do_action_ref_array(‘parse_request’, Array) 10 C:\xampp\htdocs\wordpress\wp-includes\class-wp.php(818): WP->parse_request(”) 11 C:\xampp\htdocs\wordpress\wp-includes\functions.php(1342): WP->main(”) 12 C:\xampp\htdocs\wordpress\wp-blog-header.php(16): wp() 13 C:\xampp\htdocs\wordpress\index.php(17): require(‘C:\xampp\htdocs…’) 14 {main}

    thrown in C:\xampp\htdocs\wordpress\wp-content\plugins\wp-migrate-db\class\Common\FullSite\FullSiteExport.php on line 42
    [02-Nov-2025 01:35:31 UTC] PHP Warning: Undefined array key “full_site_export” in C:\xampp\htdocs\wordpress\wp-content\plugins\wp-migrate-db\class\Common\Migration\MigrationManager.php on line 461
    [02-Nov-2025 01:35:31 UTC] PHP Warning: Undefined array key “dump_filename” in C:\xampp\htdocs\wordpress\wp-content\plugins\wp-migrate-db\class\Common\Migration\MigrationManager.php on line 462

    • This topic was modified 7 months, 1 week ago by wehoit.
Viewing 1 replies (of 1 total)
  • Thread Starter wehoit

    (@wehoit)

    Solved it myself with a bunch of digging. I would delete this post but i can’t see how to do it.

Viewing 1 replies (of 1 total)

The topic ‘The Export migration failed during the migration initialization stage.’ is closed to new replies.