{"id":5556754,"date":"2014-12-08T15:58:40","date_gmt":"2014-12-08T15:58:40","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/json-error-2\/"},"modified":"2016-08-22T13:19:22","modified_gmt":"2016-08-22T13:19:22","slug":"json-error-2","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/json-error-2\/","title":{"rendered":"JSON error"},"content":{"rendered":"<p>When I import the exported JSON file, I get an error: <em>Sorry, there has been an error. This file may not contain data or is corrupt.<\/em><\/p>\n<p>When I open the JSON file in a text editor, it says: <em>Warning:  json_encode() expects exactly 1 parameter, 2 given in &#8230;\/wp-content\/plugins\/options-importer\/options-importer.php on line 213<\/em>  (i removed html tags and replaced the absolute file path with &#8216;&#8230;&#8217;)<\/p>\n<p>Any idea what&#8217;s going on here?<\/p>\n<p>https:\/\/wordpress.org\/plugins\/options-importer\/<\/p>\n","protected":false},"template":"","class_list":["post-5556754","topic","type-topic","status-closed","hentry","topic-tag-json"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5556754","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5556754\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=5556754"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}