<strong>W3 Total Cache Error:</strong> some files appear to be missing or out of place. Please re-install plugin #587

Closed
bvansomeren opened this Issue Jul 8, 2013 · 11 comments

Projects

None yet

5 participants

@bvansomeren

Hi,

For one site I have to use W3 Total Cache because SuperCache is not working out. Unfortunately after installing W3 Total cache, any command on WP-CLI gives the following error:

-bash-4.1$ wp core version
<strong>W3 Total Cache Error:</strong> some files appear to be missing or out of place. Please re-install plugin or remove <strong>/home/site/public_html/wp-content/object-cache.php</strong>.-bash-4.1$ "

Running latest release versions of all components.
W3 Total cache seems to be running just fine on it's own

PS: If you give me access to the Wiki I'll get started on putting things like this in a FAQ

@scribu
Member
scribu commented Jul 8, 2013

Running latest release versions of all components.

Please run wp --info.

PS: If you give me access to the Wiki I'll get started on putting things like this in a FAQ

I don't need to give you access, because it's not restricted. Edit away.

@bvansomeren

Hi,

Here it is

PHP binary: /usr/bin/php
PHP version:    5.3.3
php.ini used:   /etc/php.ini
wp-cli root:    /home/site/.composer/vendor/wp-cli/wp-cli/php/
wp-cli config:  
wp-cli version: 0.10.2

The OS is CentOS 6

@scribu
Member
scribu commented Jul 8, 2013

That's pretty strange, since W3 Total Cache actually comes with a built-in WP-CLI command.

I think it would be easier to get help if you submitted a bug report from the W3 Total Cache settings page (WP Admin -> Performance -> Support). Tell them I sent you. :)

@bvansomeren

Minor bit of additional information. W3 Total cache and WP-CLI seem fine as long as you don't enable Object caching (and possibly the other options except for page caching). I've raised a support query with them as well, linking them to this issue

@scribu
Member
scribu commented Jul 9, 2013

Possibly related: #283

@bvansomeren

Minor note: I did not use APC based object caching (just using the disk or memcached variant) . Just FYI.
If I hear anything back from W3 Edge I'll update the ticket further

@bvansomeren

Still no word from W3 Edge, but in case somebody else runs into this problem. Disable the Object caching and at least WP-CLI will work properly again. Found this out because the object caching was causing a massive slowdown on wp-admin and turned it off, only to find WP-CLI being it's happy, helpful self again

@mpeshev
Contributor
mpeshev commented Aug 10, 2013

Do you get this issue running any other WP-CLI command?

I get warning/notice messages when I run anything whenever my site has a broken theme/plugin which is not related to WP-CLI in this case. Is your site throwing errors in the error_log when you browse the site?

@scribu
Member
scribu commented Oct 7, 2013

I think this was fixed along with #721 in the latest version of W3 Total Cache. Can you confirm, @bvansomeren ?

LE: The problem was that WP-CLI stopped loading advanced-cache.php from wp-settings-cli.php, which W3TC didn't expect.

@danielbachhuber
Member

@bvansomeren Feel free to open this issue again if you see it in the wild.

@yumyo
yumyo commented Jan 14, 2014

Hi, still get the error:

W3 Total Cache version: 0.9.3
WP-CLI version: 0.13.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment