• After upgrading i loose all my customization to home page sections.
    I use child theme.
    This is terrible.this means that we must not upgrade every time you make a new release.
    please consider this problem and find a solution
    thank you

Viewing 10 replies - 1 through 10 (of 10 total)
  • Did you ensure that all of your changes were made in your child theme? Upgrading the parent theme should not affect the child.

    Thread Starter mpakas

    (@mpakas)

    thank you esmi for your answer

    all the code in the sections i had made in “onetone options” lost and reseted.The homepage is still ok when i browse the site but in options are reseted so i cannot customize them again.

    should i create another file in my child theme to maintain the changes everytime i upgrade?

    From what I can see, the last update was a major one and it could be that this was what caused the loss of your previously saved options. Hopefully, it will not happen again but the theme’s developer may be able to provide more information on this.

    Thread Starter mpakas

    (@mpakas)

    ok the point is that despite we use child themes we have again the danger to loose all our homepage sections with this theme.

    we have to manually back up all sections one by one to be safe.

    this is not the best of approaches.

    Now i have to rebuild all my homepage…

    i would like the opinion of the theme developer about this major problem.

    thank you for trying to help esmi

    we have again the danger to loose all our homepage sections with this theme

    It can happen in any theme if the theme’s developer has (for example) changed the name of the variables used to store these options in the database. I don’t think this would be a decision that any theme developer would take lightly as we are all conscious of the need to support our existing users. However, if there is a larger issue (such as a potential security issue or a major bug) such a major rewrite may be a necessary evil.

    Thread Starter mpakas

    (@mpakas)

    so i suppose the only safe solution is to backup before any upgrade

    Thread Starter mpakas

    (@mpakas)

    i made a search in my database and i found a record in wp_options named “onetonechild” (which is the name of my onetone child theme) with value all my customized sections.

    is there a possibility to load this record in onetone options instead of the default values?

    You could try changing this to onetone to see if that helps but do backup your database before making any changes.

    Thread Starter mpakas

    (@mpakas)

    Well, if I understand it right this is the way the theme works

    1) If you DON’T have a child theme, then when you make a customization in sections and press the save button it creates a record named “onetone” with value your custom sections.

    2) If you HAVE a child theme does the same process, but now the name of the record is “yourchildthemename”

    The problem is that after the upgrade the onetone options don’t read the record with name “yourchildthemename” to extract the contents in the text editor, but just reset the editor. Now if you press save, you will override the record “yourchildthemename” and you will lose your changes permanently.

    i hope to be clear and undertand what i want to say

    Exactly the same thing has just happened to me : (

    My beautiful website! Hours of customising…gone!

    Does anyone know if it is possible to revert to my former homepage sections prior to this override?

    I’m relatively new to the terminology used above, so please make any explanation suitable for a beginner.

    Please some one help me get all these hours of work back!!!!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Sections reset after upgrade’ is closed to new replies.