Title: JSON decoding failure.
Last modified: August 30, 2016

---

# JSON decoding failure.

 *  [youcafiqbal](https://wordpress.org/support/users/youcafiqbal/)
 * (@youcafiqbal)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/json-decoding-failure-1/)
 * I am having the issue of JSON decoding failure.
    Please have a look at it. I 
   just want to transfer contents from one domain to another i have copy of my one
   WP site. I have cloned it using duplicater plugin now it is on my local host 
   n i am migrating it to another domain using wp migrate dp and it shows the following
   error. What should i do ? kindly resolve 🙁 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(C:\xampp\htdocs\testd/C:/xampp/htdocs/testd/wp-content/uploads\
   testd-migrate-20150713075514-vikkj.sql.gz): failed to open stream: Invalid argument
   in C:\xampp\htdocs\testd\wp-content\plugins\wp-migrate-db\class\wpmdb.php on 
   line 1975
 * Warning: gzclose() expects parameter 1 to be resource, boolean given in C:\xampp\
   htdocs\testd\wp-content\plugins\wp-migrate-db\class\wpmdb.php on line 1985
    {“
   migration_state_id”:”55a36ee334292″}

Viewing 1 replies (of 1 total)

 *  [Paul Kaiser](https://wordpress.org/support/users/freakingid/)
 * (@freakingid)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/json-decoding-failure-1/#post-6322164)
 * Greetings,
    You could try switching your site’s theme to a known good theme without
   PHP errors, such as one of the most recent like twentyfourteen, etc.
 * Be sure to set WP_DEBUG to false, as suggested, if you haven’t already.
 * You might get more direct support from the plugin authors, of course.
    [https://wordpress.org/support/plugin/wp-migrate-db](https://wordpress.org/support/plugin/wp-migrate-db)
 * Good luck!

Viewing 1 replies (of 1 total)

The topic ‘JSON decoding failure.’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Paul Kaiser](https://wordpress.org/support/users/freakingid/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/json-decoding-failure-1/#post-6322164)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
