The issue appears when using ACF PRO, and the repeater field with an image, or just a standard image field (so suspecting upload a file). I have used this many times before on previous ACF versions, so must just be ACF PRO. I click to upload an image, but nothing happens. I have checked the console and there’s a jQuery UI errors happening per click.
Uncaught TypeError: undefined is not a function input.min.js?ver=5.0.3:1
I have Quickcast’d the issue so hope this helps somewhat.
This happens on both local and development servers.
Hi, we’re seeing the same issue on a client’s site. Here’s the error with line number.
Uncaught TypeError: undefined is not a function http://www.sitenamehere.dev/wp-content/plugins/advanced-custom-fields-pro/js/input.js?ver=5.0.4:1252
I’ll advise the client to upgrade core. Thanks for looking into it!
That patch worked to fix the image upload, however it seems to have somehow triggered another issue. I also have Page Link fields in the same group. Without the patch applied, I can select a page link but can’t upload an image. With the patch, I can upload an image but I just get “Searching..” when selecting a page.
I’m seeing this error:
Uncaught TypeError: Cannot read property ‘length’ of null clientname.staging.wpengine.com/wp-includes/js/jquery/jquery.js?ver=1.10.2:3
I’m experiencing a similar issue… when an admin post edit page loads, I get this error:
Uncaught TypeError: Cannot read property ‘post_id’ of null
…then when I try to use the “Add Image” button, I get this error:
Uncaught TypeError: Cannot read property ‘image’ of null
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
© 2022 Advanced Custom Fields.