Wp-cli: Fatal error "Call to undefined function apply_filters()" with 4.6 trunk

Created on 3 Jun 2016  路  4Comments  路  Source: wp-cli/wp-cli

PHP Fatal error:  Call to undefined function apply_filters() in /wp-includes/load.php on line 315
PHP Stack trace:
PHP   1. {main}() /bin/wp:0
PHP   2. include() /bin/wp:4
PHP   3. include() phar:///bin/wp/php/boot-phar.php:5
PHP   4. WP_CLI\Runner->start() phar:///bin/wp/php/wp-cli.php:21
PHP   5. WP_CLI\Runner->load_wordpress() phar:///bin/wp/php/WP_CLI/Runner.php:806
PHP   6. require() phar:///bin/wp/php/WP_CLI/Runner.php:858
PHP   7. WP_CLI\Utils\wp_debug_mode() phar:///bin/wp/php/wp-settings-cli.php:59
PHP   8. wp_debug_mode() phar:///bin/wp/php/utils-wp.php:22

Caused by https://core.trac.wordpress.org/changeset/37626 and https://core.trac.wordpress.org/changeset/37588

bug bootstrap

Most helpful comment

For those who get here via google now you can now just run wp cli update without the --nightly to fix this.

All 4 comments

Not to be a pest, but when is the release of 0.24.0? This issue renders fresh installs of vip-quickstart impossible: https://github.com/Automattic/vip-quickstart/issues/500

Not to be a pest, but when is the release of 0.24.0?

July 27th

This issue renders fresh installs of vip-quickstart impossible:

You can use wp cli update --nightly to get a compatible nightly build.

For those who get here via google now you can now just run wp cli update without the --nightly to fix this.

@infn8 That worked for me, thanks.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ernilambar picture ernilambar  路  3Comments

killown picture killown  路  3Comments

NateWr picture NateWr  路  3Comments

sir-gon picture sir-gon  路  4Comments

dsgnr picture dsgnr  路  4Comments