This is just in case anyone else runs into the issue of receiving console errors related to clicking on a Add Image or Add File button on the admin side of WordPress for custom post types with these ACF fields that do not have a WordPress “featured image” as part of the custom post type while running WP Smush Pro 2.7.7.
Sample errors appearing in console:
Uncaught TypeError: Cannot read property ‘id’ of undefined
Uncaught TypeError: QTags is not a constructor
or (when clicking on the button)
Uncaught TypeError: Cannot read property ‘align’ of undefined
Rolling the WP Smush Pro plugin back to 2.7.6 resolves the issue. I’ve contacted WPMU Dev to let them know but thought I would post it here in case anyone else runs into the same problem.
Viewing 1 post (of 1 total)
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