• kimipooh

    (@kimipooh)


    It seems that the following code cannot work.

    //Add the cli interface to the known commands
    if (defined('WP_CLI') && WP_CLI) {
        include __DIR__.'/includes/wp-cli.php';
    }

    Because __DIR__.’/includes/wp-cli.php’ file doesn’t exist.

    Therefore, when WP-CLI command is run, the following warning always displays.

    Warning: include(/****/wp-content/plugins/user-access-manager/includes/wp-cli.php): failed to open stream: No such file or directory in /****/wp-content/plugins/user-access-manager/user-access-manager.php on line 351

    Please fix it.

    https://wordpress.org/plugins/user-access-manager/

  • The topic ‘Failed to open stream when WP CLI is run’ is closed to new replies.