• Resolved tom coady

    (@tomcoady)


    I’m seeing this on multiple WordPress installs, some with only jetpack and akismet active:

    $ wp plugin update-all
    Warning: include(lib/wp-cli.php): failed to open stream: No such file or directory in /wp-content/plugins/dreamobjects/lib/core.php on line 80
    Warning: include(): Failed opening ‘lib/wp-cli.php’ for inclusion (include_path=’/usr/local/wp/vendor/phpunit/php-token-stream:/usr/local/wp/vendor/phpunit/phpunit-mock-objects:/usr/local/wp/vendor/phpunit/php-code-coverage:/usr/local/wp/vendor/phpunit/phpunit:/usr/local/wp/vendor/symfony/yaml:.:/usr/local/lib/php:/usr/local/php5/lib/pear’) in /wp-content/plugins/dreamobjects/lib/core.php on line 80

    Line 80:

    // WP-CLI
     if ( defined('WP_CLI') && WP_CLI ) {
     include( 'lib/wp-cli.php' );
     }
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Hah, I know why. I’ll fix that.

    If you change it to this it will work:

    // WP-CLI
    if ( defined('WP_CLI') && WP_CLI ) {
    	include( 'wp-cli.php' );
    }

    Version 4.0.3 will fix it for everyone.

    Thread Starter tom coady

    (@tomcoady)

    Cool, it works since I updated the plugin, thanks Mika!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Warning: include(lib/wp-cli.php): failed to open stream’ is closed to new replies.