Support » Plugin: W3 Total Cache » [Plugin: W3 Total Cache] Strange transient problem

  • I have a problem, I store data as transient for 7 days.

    When running a file in the root (where index.php is) I can do:

    // Some loop here for each transient I need:

    However .. if I do the exact same thing in an admin plugin page it returns falses !

    How can I fix this?
    Memcached is turned on and stores, pages/objects/database. Default settings for lifetime.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Fred. asked me if this still was the case when W3TC was turned off. it is! So it appears that this is not a W3TC problem.

    This is the code, works fine on my warm_cache.php file in the root, but not in my admin plugin page.

    $statdata = get_option('plugin_warm_cache_statdata');
    $keep_time = 60*60*24*7; // 7 days
    foreach($statdata as $key => $value)
    	if($key >= time()-$keep_time)
    		$newstatdata[$key] = $value;
    echo "<br><br>$value<br>";

    Expected result

    array(5) { ["url"]=> string(43) "
    * snip
    ["pages_count"]=> int(21) ["time"]=> float(15.3015730381) }

    Result in admin page:


    I’ve disabled W3TC, renamed the dropins and dropins from other cache plugins and now the problem is gone.

    Enabling step by step to find out what caused this.

    Problem is in the object cache of W3TC

    Plugin Author Frederick Townes


    So when object caching is disabled all is ok?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: W3 Total Cache] Strange transient problem’ is closed to new replies.