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

ACF Pro 5.7-RC1 - Cannot choose image #65

Open
wonkeythemonkey opened this issue Jun 8, 2018 · 2 comments
Open

ACF Pro 5.7-RC1 - Cannot choose image #65

wonkeythemonkey opened this issue Jun 8, 2018 · 2 comments

Comments

@wonkeythemonkey
Copy link

I am testing the ACF Pro 5.7 release candidate. I find that I can add an "Image with user-crop" field and that it will display in the page edit screen, but when I click the "Add Image" button nothing happens.

I suspect this is related to the major JavaScript changes between ACF Pro versions 5.6 and 5.7.

@wonkeythemonkey
Copy link
Author

More details: I checked the console when I clicked the button, and the message was:

Uncaught TypeError: acf.get_field_key is not a function
    at Object.add (input.js?ver=4.9.6:56)
    at HTMLAnchorElement.<anonymous> (acf-input.min.js?ver=5.7.0-RC1:4)
    at HTMLDocument.dispatch (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,moxiejs,plupload&ver=4.9.6:3)
    at HTMLDocument.r.handle (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,moxiejs,plupload&ver=4.9.6:3)

I'm guessing that acf.get_field_key was deprecated.

@mikeaskew4
Copy link

Not sure if this was answered somewhere else, but I have the same issue.

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

2 participants