WP-CLI fails to update with WordPress 4.6 onwards

This may seem like it’s becoming something of a tradition, but if you’re a WP-CLI (WordPress Command Line Interface) user and you’ve recently updated your website to WordPress 4.6, you may notice that plugin updates no longer work correctly. You’ll probably get an error like this: PHP Fatal error: Call to undefined function apply_filters() in /Library/WebServer/Sites/example.dev/wp-includes/load.php … More WP-CLI fails to update with WordPress 4.6 onwards