Title: JSON File Import
Last modified: August 22, 2016

---

# JSON File Import

 *  [lifebigtime](https://wordpress.org/support/users/lifebigtime/)
 * (@lifebigtime)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/json-file-import/)
 * I have a JSON file backup that I need to import into my [new wordpress site](http://daisyspetplace.com).
   I have searched and searched and am at the end of my rope with this! I am not
   technical so this is difficult for me. I am trying to import using JSON Options
   but when I try importing I get the following errors. Please help!
 * Warning: stripos() expects parameter 1 to be string, array given in /home1/lifebigt/
   public_html/daisyspetplace.com/wp-content/plugins/json-options/json-options.php
   on line 594
 * Warning: stripos() expects parameter 1 to be string, array given in /home1/lifebigt/
   public_html/daisyspetplace.com/wp-content/plugins/json-options/json-options.php
   on line 594
 * Warning: stripos() expects parameter 1 to be string, array given in /home1/lifebigt/
   public_html/daisyspetplace.com/wp-content/plugins/json-options/json-options.php
   on line 594
 * Warning: stripos() expects parameter 1 to be string, array given in /home1/lifebigt/
   public_html/daisyspetplace.com/wp-content/plugins/json-options/json-options.php
   on line 594
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home1/lifebigt/public_html/daisyspetplace.com/wp-content/plugins/json-options/
   json-options.php:594) in /home1/lifebigt/public_html/daisyspetplace.com/wp-includes/
   option.php on line 748
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home1/lifebigt/public_html/daisyspetplace.com/wp-content/plugins/json-options/
   json-options.php:594) in /home1/lifebigt/public_html/daisyspetplace.com/wp-includes/
   option.php on line 749
 * [https://wordpress.org/plugins/json-options/](https://wordpress.org/plugins/json-options/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Jeremy Bradbury](https://wordpress.org/support/users/jeremyjanrain/)
 * (@jeremyjanrain)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/json-file-import/#post-5763197)
 * Just some notes: this plugin hasn’t been updated in 20 months and hasn’t been
   tested beyond 3.5.2. This plugin’s original purpose was for embedding into other
   plugins for clean backup/restoring of that plugin’s settings to a text file. 
   However, it did prove useful for whole/partial site options backups in older 
   versions of WP.
 * It looks like it’s possible your options have more depth than I originally accounted
   for in my code. I am not sure what WP version you are using but I think how the
   options are accessed and stored changed in WP 4.0.
 * is there any way you can paste your JSON in the export file here (redacting anything
   sensitive of course API keys, passwords ect)? If you do, make sure to wrap the
   brackets in backticks so it’s formatted as code.
 * That is literally the only way i can try to duplicate and fix this for you (and
   others).
 * There are official ways to export and import WP sites and data (but not options)
   
   [https://wordpress.org/plugins/wordpress-importer/](https://wordpress.org/plugins/wordpress-importer/)
   [http://codex.wordpress.org/Tools_Export_Screen](http://codex.wordpress.org/Tools_Export_Screen)
 * There is more fully featured plugin that does the same thing as this (and then
   some), but it also looks like it isn’t tested compatible above WP 3.9.2
    [https://wordpress.org/plugins/options-importer/](https://wordpress.org/plugins/options-importer/)
 * if you’re comfortable enough with connecting to the database (and your host allows)
   you can do what most of us do: export the wp_options table (or entire site) to
   a .sql file and import it to the new site. Then update the “home” and “siteurl”
   values to the new url or else the admin panel (among other things) won’t work.
 * But I expect you’d have already done that if you were (the note was mainly for
   other readers).

Viewing 1 replies (of 1 total)

The topic ‘JSON File Import’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/json-options.svg)
 * [JSON Options](https://wordpress.org/plugins/json-options/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/json-options/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/json-options/)
 * [Active Topics](https://wordpress.org/support/plugin/json-options/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/json-options/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/json-options/reviews/)

## Tags

 * [cannot modify header](https://wordpress.org/support/topic-tag/cannot-modify-header/)
 * [Import](https://wordpress.org/support/topic-tag/import/)
 * [json](https://wordpress.org/support/topic-tag/json/)
 * [parameter](https://wordpress.org/support/topic-tag/parameter/)
 * [warning](https://wordpress.org/support/topic-tag/warning/)

 * 1 reply
 * 2 participants
 * Last reply from: [Jeremy Bradbury](https://wordpress.org/support/users/jeremyjanrain/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/json-file-import/#post-5763197)
 * Status: not resolved