Viewing 9 replies - 1 through 9 (of 9 total)
  • gnunesleandro

    (@gnunesleandro)

    Olá,

    Estou com o mesmo problema.

    No console recebo o seguinte erro:

    Uncaught TypeError: acf.get_field_key is not a function

    Minha vers?o do WP é a 4.4.2

    Estava funcionando corretamente, porém parou depois de uma atualiza??o.

    Tem previs?o de corre??o?

    Obrigado.,

    Roolo

    (@roolo)

    I’m also having this problem, I think the problem is related to the lated acf (pro) update, and not the worpress version.

    gnunesleandro

    (@gnunesleandro)

    Sim, o erro esta na atualiza??o do ACF PRO mesmo. Percebi isso hoje.

    Aparentemente consegui resolver. N?o sei qual foi o motivo, mas fiz o seguinte:

    Voltei o WP para a vers?o 4.4 e o ACF PRO para a vers?o 5.3 de um backup que tinha aqui.

    Feito isso, fui até o ADMIN o WP e realizei todas as atualiza??es novamente.

    Agora esta funcionando como deveria.

    Talvez o erro foi corrigido ou algo erro de instala??o aconteceu, sei lá.

    Mas parece funcionar agora.

    Plugin Author andersthorborg

    (@andersthorborg)

    Hey guys, thanks for reporting.

    Are you still having this issue? I’m not able to reproduce it with WP 4.4.2 and ACF Pro 5.3.6.1.

    If this is still an issue, please provide more details about your setup – what browser are you using, what are the field settings, what are you editing (post, page, user, options page, repeater etc.) is it in a repeater/flexible content etc.

    Thanks,

    Anders

    Thread Starter georgemo76

    (@georgemo76)

    Hi Anders,

    I’ve just upgraded to ACF v5.3.6.1 and it’s resolved the issue.

    Thanks for the support.

    Roolo

    (@roolo)

    Thanks for your reply. Strange that you couldn’t reproduce it. Did you try cropping an image that was already added or did you try to add a new image using the acf crop field? Cropping images that are already added works, but the problem arises when you try to add an image using a acf crop field.

    I don’t think it’s is browser or environment related. I think problem is that the acf.get_field_key function does not exist in ACF pro 5.3.6.1, hence the error:
    Uncaught TypeError: acf.get_field_key is not a function

    I solved it locally by commenting out line 56 in input.js that uses the function and the plugin works as expected again after that when uploading one image at a time. I don’t know what are the consequences of removing that line though so i don’t know if thats a viable solution.

    Roolo

    (@roolo)

    Nevermind, updating to the latest ACF vervion resolved the issue. I really thought i had v5.3.6.1 installed locally, maybe they just released some hotfixes without changing the version number?

    Plugin Author andersthorborg

    (@andersthorborg)

    Could be. Thanks for reporting anyway, and let me know if you experience any more issues.

    I’ll close this for now.

    Best,

    Anders

    astronomyTax

    (@astronomytax)

    Same issue. Minor panic here this morning. Updating ACF fixed the issue. Thanks guys.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Update for WP 4.4.1’ is closed to new replies.