WP-CLI on a cloned local Pantheon Wordpress

Pantheon is a great system for spinning up Wordpress Installs. Except that you can't use WP-CLI locally on them. You'll receive something like this:

[05-Aug-2014 14:30:45 UTC] PHP Fatal error: Cannot redeclare wp_unregister_GLOBALS() (previously declared in /Applications/MAMP/htdocs/lookey/wp-includes/load.php:17) in /Applications/MAMP/htdocs/lookey/wp-includes/load.php on line 32

Virtually impossible to debug, but easy to fix.

Pages

Subscribe to The Art and Science RSS