Skip to content
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

Installing through composer installs incorrect version #914

Open
baronvertigovongrahamthesecondofsealand opened this issue Jun 6, 2024 · 5 comments

Comments

@baronvertigovongrahamthesecondofsealand

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.

@polevaultweb
Copy link
Contributor

Hi @baronvertigovongrahamthesecondofsealand we'll look into making sure platform requirements are respected on update, but for now please lock your version number of ACF in composer.json to 6.2.10.

@hissmconsid
Copy link

hissmconsid commented Jun 10, 2024

Still Problem

https://connect.advancedcustomfields.com/index.php?a=download&p=pro&k=ACF_PRO_KEY&t=6.2.10

Error 404 when installing through composer , 6.2.9 working fine

@polevaultweb
Copy link
Contributor

@hissmconsid that's a different problem to this issue. This is not a supported way of downloading ACF with Composer.

Please use our official ACF PRO Composer repository https://advancedcustomfields.com/resources/installing-acf-pro-with-composer/

@andrija-menuapp
Copy link

Is this method https://connect.advancedcustomfields.com/index.php?a=download&p=pro&k=ACF_PRO_KEY&t=6.2.10 completely deprecated ?

Thanks

@hissmconsid
Copy link

Yes now you have to used ACF Pro way to install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants