Roundcube\Composer\ExtensionInstaller::getRoundcubemailInstallPath(): Return value must be of type string, null returned
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 53/100
Hướng nghiên cứu
Start by reading ExtensionInstaller.php around line 67 and trace how getRoundcubemailInstallPath() is called during plugin registration. Reproduce the failure with a fresh Roundcube 1.7.7 installation and inspect the configuration or package data available at that point. Done when the installation completes without the TypeError and the installer has a regression test for this case.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
During fresh installation of RC 1.7.7:
In ExtensionInstaller.php line 67:
[TypeError]
Roundcube\Composer\ExtensionInstaller::getRoundcubemailInstallPath(): Return value must be of type string, null returned
Exception trace:
at /xxx/vendor/roundcube/plugin-installer/src/ExtensionInstaller.php:67
Roundcube\Composer\ExtensionInstaller->getRoundcubemailInstallPath() at /xxx/vendor/roundcube/plugin-installer/src/PluginInstaller.php:12
Roundcube\Composer\PluginInstaller->getVendorDir() at /xxx/vendor/roundcube/plugin-installer/src/ExtensionInstaller.php:77
Roundcube\Composer\ExtensionInstaller->getInstallPath() at phar:///composer.phar/src/Composer/Installer/InstallationManager.php:576
Composer\Installer\InstallationManager->getInstallPath() at phar:///composer.phar/src/Composer/Plugin/PluginManager.php:635
Composer\Plugin\PluginManager->getInstallPath() at phar:///composer.phar/src/Composer/Plugin/PluginManager.php:331
Composer\Plugin\PluginManager->registerPackage() at phar:///composer.phar/src/Composer/Plugin/PluginManager.php:569
Composer\Plugin\PluginManager->loadRepository() at phar:///composer.phar/src/Composer/Plugin/PluginManager.php:110
Composer\Plugin\PluginManager->loadInstalledPlugins() at phar:///composer.phar/src/Composer/Factory.php:457
Composer\Factory->createComposer() at phar:///composer.phar/src/Composer/Factory.php:638
Composer\Factory::create() at phar:///composer.phar/src/Composer/Console/Application.php:680
Composer\Console\Application->getComposer() at phar:///composer.phar/src/Composer/Command/BaseCommand.php:131
Composer\Command\BaseCommand->tryComposer() at phar:///composer.phar/src/Composer/Command/BaseCommand.php:242
Composer\Command\BaseCommand->initialize() at phar:///composer.phar/vendor/symfony/console/Command/Command.php:264
Symfony\Component\Console\Command\Command->run() at phar:///composer.phar/vendor/symfony/console/Application.php:1040
Symfony\Component\Console\Application->doRunCommand() at phar:///composer.phar/vendor/symfony/console/Application.php:301
Symfony\Component\Console\Application->doRun() at phar:///composer.phar/src/Composer/Console/Application.php:504
Composer\Console\Application->doRunComposer() at phar:///composer.phar/src/Composer/Console/Application.php:169
Composer\Console\Application->doRun() at phar:///composer.phar/vendor/symfony/console/Application.php:171
Symfony\Component\Console\Application->run() at phar:///composer.phar/src/Composer/Console/Application.php:142
Composer\Console\Application->run() at phar:///composer.phar/bin/composer:112
require() at /composer.phar:29
- Ngôn ngữ chính
- PHP
- Star
- 35
- Fork
- 21
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của roundcube/plugin-installer
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 30/100
roundcube/plugin-installer#58 · 1 bình luận ·
-
Compatybility with PHP 5 brokenĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 34/100
roundcube/plugin-installer#56 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
roundcube/plugin-installer#55 · 8 bình luận ·
-
composer update (install step removed packages) fails because plugin-installer invokes autoloaderĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
roundcube/plugin-installer#38 · 4 bình luận ·
Tất cả issue của roundcube/plugin-installer
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 86/100
Automattic/static-site-importer#3462 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Document lexicon.default.userconfig and lexicon.default.userconfig.enforced in config.sample.phpĐang mởenhancement feature: settings good first issue
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
nextcloud/integration_openai#480 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
roundcube/roundcubemail#10468 ·
Maintainer thường phản hồi trong vòng 1 ngày