New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Composer error when using PHP 7.3 #32
Comments
Works fine for me running 7.3.33 on macOS Big Sur + homebrew. The composer.json file is compatible with PHP 7.3 (develop version are not). Perhaps you got this error because you were switching from a develop branch to master? |
This was an existing 1.7.8 DB and media with a clean installation of master branch from git. To eliminate the upgrade question, I just installed a fresh master of Providence, ran the VRA profile, and then made a fresh master of Pawtucket2, and got the same error. I then ran the
It says the lock file is out of date, so I ran the upgrade. Here is the output:
If you want me to run further tests, let me know. |
So there wasn't a fatal error? |
With the clean install, and then running the VRA profile into an empty install, It was the same error as before: |
Ok, so what was different in the previous run where you didn't get the error? I'm not seeing any issues running with current Pawtucket code in a clean install. |
Sorry if I am not being clear. In both instances, I get a fatal error in php 7.3 with a fresh install, whether it is an exiting DB or a new one created from a profile. I fix it by running The release notes say:
Is is this what is supposed to happen? The fatal error? Line 8 of the platform_check.php references PHP 7.4.0 Is that correct, or should it say '7.3.0'? |
That's generated by composer... the thing is I don't get that error when I try to install on 7.3. |
Point taken. Would it make sense to add a something to the release notes in case others encounter this issue in 7.3? |
Pawtucket Master branch is presenting this error when installing from Master on MacOS Monterey using Homebrew:
Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.4.0". You are running 7.3.33. in /path/to/pawtucket/vendor/composer/platform_check.php on line 24
If I run
composer install
the issue resolves.The release notes say it should run in PHP 7.3
Providence does not cause this error
The text was updated successfully, but these errors were encountered: