Installer script fails if host has php 8.0
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start with the installer flow that produces /usr/local/bin/ee and inspect vendor/easyengine/site-command/src/Site_Command.php around line 46, where add_site_type() fails under PHP 8.0. Reproduce the installation on a host with PHP 8.0 and trace how that packaged file is sourced. Done means the installer completes without the null-property fatal error.
Written by the indexing model from the issue text.
Description
Here's the partial log. This info is enough to pinpoint the bug.
2020-12-22 12:14:54 (37.9 MB/s) - ‘/usr/local/bin/ee’ saved [6120310/6120310]
-----> Pulling EasyEngine docker images
-----> Pulling EasyEngine docker images
PHP Fatal error: Uncaught Error: Attempt to modify property "site_types" on null in phar:///usr/local/bin/ee/vendor/easyengine/site-command/src/S
ite_Command.php:46
Stack trace:
#0 phar:///usr/local/bin/ee/vendor/easyengine/site-command/site-command.php(36): Site_Command::add_site_type()
#1 phar:///usr/local/bin/ee/vendor/composer/autoload_real.php(73): require('...')
#2 phar:///usr/local/bin/ee/vendor/composer/autoload_real.php(63): composerRequirea33f4a6479723a19537fd4af2a7c834a()
#3 phar:///usr/local/bin/ee/vendor/autoload.php(7): ComposerAutoloaderInita33f4a6479723a19537fd4af2a7c834a::getLoader()
#4 phar:///usr/local/bin/ee/php/EE/Bootstrap/AutoloaderStep.php(42): require('...')
#5 phar:///usr/local/bin/ee/php/bootstrap.php(75): EE\Bootstrap\AutoloaderStep->process()
#6 phar:///usr/local/bin/ee/php/init-ee.php(27): EE\bootstrap()
#7 phar:///usr/local/bin/ee/php/boot-phar.php(8): include('...')
#8 /usr/local/bin/ee(5): include('...')
#9 {main}
thrown in phar:///usr/local/bin/ee/vendor/easyengine/site-command/src/Site_Command.php on line 46
- Dominant language
- Shell
- Stars
- 7
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Getting set up
We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from EasyEngine/installer
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
EasyEngine/installer#31 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
EasyEngine/installer#26 ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
EasyEngine/installer#22 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
EasyEngine/installer#18 ·
All issues in EasyEngine/installer
Similar issues
-
out-of-date
Difficulty 1/5 Under an hour Newbie friendliness 82/100
CachyOS/CachyOS-PKGBUILDS#1917 ·
Maintainers usually reply within 1 day
-
package-update
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
EmbarkStudios/cargo-about#323 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
vllm-project/vllm-metal#841 ·
Maintainers usually reply within 1 day