AdvancedCustomFields / AdvancedCustomFields/acf
Installing through composer installs incorrect version
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 945
- Forks
- 197
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
Installing or updating through composer, using the wpengine/advanced-custom-fields-pro package through the connect.advancedcustomfields.com repo, installs an incorrect version.
To Reproduce
- Be using PHP 7.2, and have that set in the platform section, or required in the require section
- Add ACF Pro repo to the repositories section of composer.json
- run: composer require wpengine/advanced-custom-fields-pro
Expected behavior
Should install a version that works on PHP 7.2.
Version Information:
- WordPress Version 6.5.4
- PHP Version 7.2.34
- ACF Version > 6.2.10
Additional context
This seems to be due to the breaking changes in ACF 6.3+, but perhaps not taken into consideration in the repo.
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Start with the composer.json repository configuration and reproduce the issue using PHP 7.2.34 and composer require wpengine/advanced-custom-fields-pro; compare the selected package version with the PHP requirement. Done means Composer selects an ACF Pro version that works on PHP 7.2.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100