Style Kit preset JSON not importing

Asked on September 11, 2015 in Troubleshooting.
Answered

I have followed the instructions for importing style kits.  I was able to import the WordPress xml file and resources.  However, when I go to home-page (for example), I click on Upload & Import, I get expected box, click the Upload Files tab and select my file it immediately uploads the file and puts it in the media library.  Now when I click Upload & Import it closes the media library but there is no Import Complete message.  It just has the Upload & Import button.  When I go to Edit Page (there is no build page – which I expect is due to the unsuccessful import) nothing has changed…the styles / layout has not been applied.

I don’t get any error messages, it just fails silently.

webeau Layers User
Reply
  • Possible Answers to Your Question:

  • 1 Answer(s)
    Answered on September 11, 2015. Best answer

    Hi there,

    1. Ensure you are on Layers 1.2.4
    2. Ensure Settings > Permalinks is set to something other than default and click Save to regenerate your links. If your original setup was on default, set it to Post Name and re-export.
    3. Ensure the json file type is allowed on your install and that the page is published(not draft)

    Cannot import Style Kit preset json file “Sorry, this file type is not permitted for security reasons.”

    If the file still not importing, try the widget backup method instead:

    1. Go to Plugins > Add New and search for Widget Importer & Exporter and install/activate on both installs
    2. Backup your widgets on your old site
    3. Import the wie file on the new site
    Vail Joy Layers Team

    Yes it was #3 – JSON is not enabled but I did not see the error message anywhere (failed to check WP logs).  Does it show elsewhere?  The process of WP 4.3 seems a little different than you have in your how-to.  You may want to check and update if needed.  That may also explain why I didn’t see any error message.

    on September 11, 2015.

    Hi there,
    If you have error reporting disabled it is possible it will suppress the message.

    on September 16, 2015.

    I have a fresh install WP and trying out layerswp. I got interested creating a style kit but testing the demo style kit I encounter this error. I have done #3 but it didn’t fix the issue so I try the next instruction with “wie”, but it didnt fix it either. Any new update/fix regarding this issue?

    on January 12, 2017.

    hi

    right now i got a same problem with importing JSON  any update for this issue?

    Thanks

    on May 22, 2017.
    Reply