WP Fastest Cache not compatible with wp-cli?
-
I’ve been having a really hard time getting wp-cli to work on my WordPress site. Whenever it runs it reports errors that SERVER_PORT, SERVER_NAME, and HTTP_HOST indexes are undefined in wpFastestCache.php, and then outputs the sourcecode of our WordPress homepage.
Then I thought to disable WP Fastest Cache, and suddenly it started working like a charm.
The reason, it seems, is that wpFastestCache.php assumes it’s going to be run by the server and doesn’t take into account the possibility that the $_SERVER variables won’t be set.
Is this something that may be fixed soon? We want very much to continue using WPFC, but the work I’ll be doing with wp-cli is actually more critical.
Thanks,
Marshall
- The topic ‘WP Fastest Cache not compatible with wp-cli?’ is closed to new replies.