-
AuthorPosts
-
April 13, 2022 at 7:03 pm #1348299
I have to export my dev database in order to import it to my prod instance. When I do this the Enfold child setting are not maintained. I have to manually import the child setting file (which I exported in the Enfold Import/Export interface) in order to re-establish the child theme settings. I would not expect this to be the case. I would expect that the child theme settings would be stored in the database so when I export and import the database the theme setting should be maintained. Why would that not be the case and is there a way to ensure that they are maintained and I don’t have to manually import the theme settings file each time I do this?
Thanks!
April 14, 2022 at 7:22 pm #1348454I have discovered the issue with this. When I do the import of the database schema to the prod environment I change the domain name. When I do this, the path to the assigned logo in the avia_options_enfold_child record changes. Since the path changes, the character count of the entire path changes. So, the prefixed s:{character count value} is no longer correct. When the character count is no longer correct the entire child theme settings configuration does not get loaded. Manually updating that character count value in the database and refreshing the site/admin interface causes the child theme settings config to re-establish itself and load properly.
It would be good if a fix could be put in place that would handle this so that the child theme settings configuration still loads if that character count is incorrect.
- This reply was modified 2 years, 7 months ago by jedediahzilberberg.
April 17, 2022 at 10:00 pm #1348640Hi,
Thank you for your patience, the Dev Team has reviewed this and writes:
Manipulating the data structure of the serialized array in the database cannot be solved out of the box by a theme.
The serialized character count must be correct.
Thank you for using Enfold.Best regards,
Mike -
AuthorPosts
- You must be logged in to reply to this topic.