• Hello,

    I’m running the 0.9.4 with WordPress 4.0 and I found out that if I press the empy cache button in the Minify section of the plugin this provokes the loss of the configuration of the plugin that reverts back to default and asks me to save again the setting because it cannot find a valid configuration file…
    Very annoying!
    This happens to me all the times but I noticed that it started to happen after I upgraded to WordPress 4.
    Regards,
    Marco – StockTrader – http://www.readitalians.org

    https://wordpress.org/plugins/w3-total-cache/

Viewing 8 replies - 1 through 8 (of 8 total)
  • This sounds like a permissions issue that prevents settings from being saved, are you having other issues with your site that allude to what I’m describing?

    Thread Starter Marco

    (@mszmszit)

    Hello,

    I do not have other issues at all. When I use the other Empty cache buttons of the plugin or when I save the settings all is fine.
    I do not have any problem with the other functions of WordPress as well.
    Only when I press that button in the Minify section the plug in lose all the settings and revert back to default settings and asks me to save again the configuration to generate again the settings file.
    Kind regards & thanks,
    Marco – StockTrader – http://www.readitalians.org

    Can you submit a bug report through the Support tab of the plugin?

    Thread Starter Marco

    (@mszmszit)

    Done!
    Kind regards,
    Marco.

    Just wanted to comment here and mention we’re seeing the same behavior with “empty cache” – *not* related to minify – causing the settings file at w3tc-config/master.php to be wiped and reduced to something extremely simple. See below for examples. We’ve tried ‘trunk’ (as of Sep 19) and 0.9.4, but nothing previous. We didn’t install W3TC until we were already on WP4, so I can’t say if there’s any correlation there in our case.

    If you like I can submit a separate bug report… not sure if there’s value in that as it seems likely to be a dupe.

    The effect is that W3TC is reverted to not-configured-at-all status. Restoring this one file from backup seems to work fine. Making changes to the config seems to work fine… only “empty cache” breaks it… and that, not every time. Sometimes it doesn’t break. Seems to be around a 50/50 gamble, though we haven’t measured precisely.

    We are using page cache and object cache, both backed by memcache. Flushing all caches or all memcache caches, or either one individually, can all trigger it. There are 2 memcache nodes being used – same 2 nodes for both page and object caching, and they’re also shared by other apps, including other WP installs (that don’t use W3TC). We’re not using minify. WP and wp-content are installed separately on each node in a cluster, and the wp-content/{cache,w3tc-config} directories are shared via an NFS mount. Permissions seem okay to me (apache:apache / 644 on the files, 777 on the cache and w3tc-config dir).

    Example master.php configs after a “bad” cache flush. Not sure why the variance…

    1)
    <?php

    return array(
    ‘version’ => ‘0.9.4’,
    ‘plugin.type’ => ”,
    );

    2)
    <?php

    return array(
    ‘version’ => ‘0.9.4’,
    ‘notes.need_empty_pgcache’ => false,
    ‘notes.plugins_updated’ => false,
    );

    3)
    <?php

    return array(
    ‘version’ => ‘0.9.4’,
    ‘plugin.type’ => ”,
    ‘notes.need_empty_pgcache’ => false,
    ‘notes.plugins_updated’ => false,
    );

    having the same issue …when i am trying to save enabled minify check box the configuration is loss

    @kanishk.singh45: Please submit a bug report through the Support tab of the plugin.

    I too confirm the mentioned behaviour of empty cache button in the Minify section.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘The 'empty cache' button in the Minify section provokes configuration loss’ is closed to new replies.