[Plugin: WP Super Cache] 0.9.9.3 not working with WordPress 3.0
-
Hello,
I use WP Super Cache since a while now. I’ve just upgraded my WordPress site to the 3.0 version. Since the upgrade I got the error, which is displayed at the top of my website :
“Notice: Undefined index: wp_cache_key in /home/coucou/www/wp-content/plugins/wp-super-cache/wp-cache-phase1.php on line 288”Is it a known issue ?
-
Additionnal datas :
I went to my wp-admin panel to desactivate wp-super-cache. I got the message in return :
Warning: include(/home/coucou/www/wp-content/advanced-cache.php) [function.include]: failed to open stream: No such file or directory in /home/coucou/www/wp-settings.php on line 60 Warning: include() [function.include]: Failed opening '/home/coucou/www/wp-content/advanced-cache.php' for inclusion (include_path='.:/usr/share/php5') in /home/coucou/www/wp-settings.php on line 60And now, at the top of my website, is displayed :`
Warning: include(/home/coucou/www/wp-content/advanced-cache.php) [function.include]: failed to open stream: No such file or directory in /home/coucou/www/wp-settings.php on line 60Warning: include() [function.include]: Failed opening ‘/home/coucou/www/wp-content/advanced-cache.php’ for inclusion (include_path=’.:/usr/share/php5′) in /home/coucou/www/wp-settings.php on line 60`
On line 60 of my wp-settings.php file, I have :
if ( WP_CACHE ) WP_DEBUG ? include( WP_CONTENT_DIR . '/advanced-cache.php' ) : @include( WP_CONTENT_DIR . '/advanced-cache.php' );Turn off “display errors”, that undefined variable message is only a warning and it’s harmless.
Edit wp-config.php and remove the line that defines “WP_CACHE”, that will stop it looking for advanced-cache.php
Thanks. How do you deactivate display errors ?
In my php.ini I have :
display_errors = Off(and no error_reporting line)
It’s being set on somewhere unfortunately. That’s the directive you need to disable. You can try search for the string “display_errors” if you have ssh access to your site, just grep for it. Some PHP script may have enabled it.
I’ve done some changes. I don’t have the error code now. But WP Super Cache is not caching any page anymore… Great :-/ I may have done some mistake, perhaps I should digg it. (/options-general.php?page=wpsupercache says all is ok but 0 cached pages)
Did you regenerate the stats?
Now I did, and now it shows stats (> 0). However, I don’t see any “cached by wp super cache” in the html generated code ?
example : http://www.greenunivers.com/2010/06/indicateur-boursier-green-europe-6-du-11-au-17-juin-38719/
Works for me, I see the cached message. Make sure you’re logged out.
I couldn’t get into the plugins page until I deleted Super Cache; it worked with my installation of 2.9.2, but no such luck with 3.0.
make sure you have updated your wp-config file, it differs from version in 2.9.2 calling wp-settings.php an include, if your config file is not updated to reflect the new 3.0 changes WP-super cache will refuse to move from the WP_CACHE needs to be enabled message..
if you just move your db settings into the wp-config-sample.php and then rename it wp-config.php you should be good to go…
Thx everybody. Appreciate your support.
Hi, I have some problem with my blog.
When I activated the plugins WordPress.com Stats and WP Super Cache, I
can’t log out from dashboard. Then I deactivate thes plugins. After this my blog is loading with a blank page.
I also changed wp-config.php and .htaccess files from saved, but still have problem.After this error, I create an .php file
( <?php
Phpinfo();
?> )
and add into my blog’s wpconfig.php after(<?php)
thie code ( define(WP-DEBUG , true); ) , receive this messageWarning: include( /banugorc.info/wp-content/advanced-cache.php) [function.include]: failed to open stream: No such file or directory in /banugorc.info/wp-settings.php on line 60
Warning: include() [function.include]: Failed opening ‘ banugorc.info/wp-content/advanced-cache.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in banugorc.info/wp-settings.php on line 60
Notice: add_option was called with an argument that is deprecated since version 2.3 with no alternative available. in banugorc.info/wp-includes/functions.php on line 3323
Help please, tell me how can I fix this problem?
Try removing the line containing the text WP_CACHE in wp-config.php. Does that help?
I remove define
( 'WP_CACHE', true );from wp-config.php but nothing.
The topic ‘[Plugin: WP Super Cache] 0.9.9.3 not working with WordPress 3.0’ is closed to new replies.