theme_mods getting overwritten on migration
-
Hello, I have a working development site which I’m trying to replace my working site with (both WP 7.02). This dev site has a copy of the database (of course), but uses an upgrade to the same theme (the theme is no longer supported and didn’t provide an auto-upgrade option). The dev site works fine. Now I’m doing what I’ve always done to migrate the dev site back to the working site: copy the WP files, and use the new database but suitably modified so that all references to dev.X.com are replaced by X.com, etc.. I’ve done this kind of procedure many times successfully. But this time I find that the entry for theme_mods(followed by _theme name) in the wp_options table is getting overwritten as soon as I load the site. It’s replaced with a short string which I imagine are defaults. All my theme option selections have disappeared. If I manually change the DB entry back to what it is in my dev DB, the same thing happens again.
Does anyone know whether WP or my theme might be doing this, and most importantly how to prevent it?
Thanks
You must be logged in to reply to this topic.