Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #18722


    Our development environment and production environment are on separate hosts and we need to migrate our app between these hosts frequently.

    As previously noted, and as noted by many others, a standard WP migration is not migrating the Avia theme settings. This is a reported problem and a continuation of a previous thread that was just closed. (Purchase code hidden if logged out)

    I tried following Kriesi’s instructions to create a dummy.php file to clone our settings from one host to another. Unfortunately this did not work either. Our site is complex and it takes a full day to apply all of the custom settings manually. Clearly, this is not a practical migration solution.

    Please advise. Thank you.



    Unfortunately we haven’t found a fix for the issue yet. It seems like it occurs on some servers and but not on all servers (I could reproduce it on my dev server but Kriesi couldn’t). Some users reported that backupbuddy: works and transfers all settings flawlessly. You can also try a free backup plugin like:


    Thanks. I will checkout these plugins as a short-term solution. But I really need to get this problem resolved so that I can do a proper migration with SQL import/export. If you can reproduce the problem on your dev server I don’t understand why you are unable to troubleshoot it. Is it possibly a permissions issue?


    I debugged the loading process now and I think I found the issue. It seems like following line in frameworkphpclass-superobject.php doesn’t work:

    $database_option = get_option($this->option_prefix);

    and WP returns no settings/data. The funny thing is that I can select the data with following code from the database:

    if(get_option($this->option_prefix) === false){
    global $wpdb;
    $avia_result = $wpdb->get_results("SELECT * FROM $wpdb->options WHERE option_name = 'avia_options_propulsion'");
    $avia_result = $avia_result[0]->option_value;


    and this is very weird especially because the get_option() function works with other options and the $this->option_prefix variable contains a valid string. I sent Kriesi a mail and he’ll look into it.


    Excellent detective work! Thanks for pursuing this.

    I installed BackupBuddy and am impressed. Thanks for recommending this plugin.


    Hi michaelspencer,

    Glad that Peter helped you. :)



Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Migrating Theme Settings’ is closed to new replies.