Home › Forums › Backend Issues (wp-admin) › Update to WP 5.9.1 breaks media selection › Reply To: Update to WP 5.9.1 breaks media selection
In my case the above solution didn’t work.
Still, there were changes.
After I put the above code in my functions.php file,
Now I got the exact same error message when clicking a picture that is shown in the media library.
The error message is “Uncaught TypeError: Cannot read properties of undefined (reading ‘removeAllPlayers’) at n.render (media-views.min.js?ver=5.9.1:2:91463)” .
And the media library looks just like its style.css file is gone. The layout is completely broken and is located in the corner of the screen. This is the same before and after applying this code.
I have to release the site to the public tomorrow, but this happened yesterday, so I am in a very difficult situation right now.
Hope someone can solve this problem.
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!
The most recent ACF Chat Friday featured a live demo of how to register CPTs directly in the plugin, one of our most requested features. Check out the summary below for a replay of the demo, and don’t forget to register for the next session! https://t.co/k2KQ3WWBAz— Advanced Custom Fields (@wp_acf) March 9, 2023
© 2023 Advanced Custom Fields.