AdvancedCustomFields / acf

Advanced Custom Fields
http://advancedcustomfields.com/
823 stars 168 forks source link

Installing through composer installs incorrect version #914

Open baronvertigovongrahamthesecondofsealand opened 4 weeks ago

baronvertigovongrahamthesecondofsealand commented 4 weeks ago

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

Expected behavior Should install a version that works on PHP 7.2.

Version Information:

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 commented 4 weeks ago

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 commented 3 weeks ago

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 commented 3 weeks ago

@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 commented 2 weeks ago

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 commented 2 weeks ago

Yes now you have to used ACF Pro way to install