用php composer.phar 添加了个扩展 就报这个错误了  
上次也遇到过 莫名其妙的好了 好像记得我只清空了web目录下的缓存  
可这次却不行了
public static function copyDirectory($src, $dst, $options = [])
    {
        if ($src === $dst || strpos($dst, $src) === 0) {
            throw new InvalidParamException('Trying to copy a directory to itself or a subdirectory.');
        }
        if (!is_dir($dst)) {
            static::createDirectory($dst, isset($options['dirMode']) ? $options['dirMode'] : 0775, true);
        }
 
        $handle = opendir($src);
        if ($handle === false) {
            throw new InvalidParamException("Unable to open directory: $src");
        }有遇到类似情况的或有解决方法的 同学 提个醒啊 谢谢
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
重新编辑了AppAsset的sourcePath,就可以了
楼主我也遇到这个问题了,我开启了dosamigosckeditorCKEditor后就有这个问题,不开启就没这个问题,到现在还没解决这个问题。我的AppAsset配置: