Lost all Layers pages on last update.

Asked on July 28, 2015 in Troubleshooting.
Answered

Hey, when I updated my theme, I stupidly forgot to export all the main pages (I know, I know). All my layers content blocks disappeared, all the content was gone, and I had to re-start from scratch. I’m wondering if there are ways to save the pages into the actual WordPress database when you save it, so you can have revisions you can restore- as it is, if you delete a block, it’s gone forever. Is there any plan to have a functionality like that?

bradtid Layers User
Reply
  • Possible Answers to Your Question:

  • 1 Answer(s)
    Answered on August 24, 2015. Best answer

    Hi there,

    The pages are saved to the database and should not be lost when updating, unless you skipped ahead several versions (ie 1.1.2 to 1.2.2) OR deleted the theme from Appearance > Themes and then reinstalled it.

    Unfortunately, there is no support for “revisions” or auto-saving widgets in the Customizer currently from a WP core perspective.  I recommend setting up a timed backup of the site and widget content which will work on a restore even if you forgot to export your pages. Also always ensure the page itself was saved as a draft before you begin customizing or WordPress will not even auto-save the page.

    https://docs.layerswp.com/doc/backup-your-pages/

    If you are running a child theme, ensure Layers is activated before updating, then switch back to the child theme (widgets are stored by theme name, so switching themes can also cause the page’s widget content to disappear)

    Finally, we have seen some widget layout loss due to caching plugins.

    Vail Joy Layers Team
    Reply