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
or
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.