• Every time I try to migrate DB from my live site, I get this error. Locally, everything works perfectly. I have tried deactivating all plugins and I have tried adding FTP permissions my wp-config.php files. Nothing seems to be working. Please help! Thanks a million.

    JSON Decoding Failure — Our AJAX request was expecting JSON but we received something else. Often this is caused by your theme and/or plugins spitting out PHP errors. If you can edit the theme or plugins causing the errors, you should be able to fix them up, but if not, you can set WP_DEBUG to false in wp-config.php to disable errors from showing up. (#144)
    View error messages

    Warning: gzopen(D:\Hosting\11682011\html\bitss/wp-content/uploads\wp-migrate-db\bitsstest-migrate-20151207004100-mt1d2.sql.gz) [function.gzopen]: failed to open stream: Permission denied in D:\Hosting\11682011\html\bitss\wp-content\plugins\wp-migrate-db\class\wpmdb.php on line 1988

    Warning: gzclose() expects parameter 1 to be resource, boolean given in D:\Hosting\11682011\html\bitss\wp-content\plugins\wp-migrate-db\class\wpmdb.php on line 1998
    {“migration_state_id”:”5664d59c3d138″}

    https://wordpress.org/plugins/wp-migrate-db/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Can you try the export without the “Compress file with gzip” option?

    Thread Starter alignedcargo

    (@alignedcargo)

    I’ve tried exporting both with and without the “Compress file with gzip” option – neither works, unfortunately.

    What’s the error when not using gzip?

    Also, what version of WP Migrate DB are you using, the recently released 0.7.2?

    I also get the same error:
    Migration failed

    JSON Decoding Failure — Our AJAX request was expecting JSON but we received something else. Often this is caused by your theme and/or plugins spitting out PHP errors. If you can edit the theme or plugins causing the errors, you should be able to fix them up, but if not, you can set WP_DEBUG to false in wp-config.php to disable errors from showing up. (#144)
    View error messages

    Warning: fopen(/var/www/aber.vn/html/wp-content/uploads/aber_vn-migrate-20161221153819-b56t3.sql): failed to open stream: Permission denied in /var/www/aber.vn/html/wp-content/plugins/wp-migrate-db/class/wpmdb.php on line 2719

    Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/aber.vn/html/wp-content/plugins/wp-migrate-db/class/wpmdb.php on line 2729
    {“migration_state_id”:”585aa1ebd9c4b”}

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘JSON Decoding Failure (#144)’ is closed to new replies.