So after updating to WP 5.3 I can no longer use the file upload to choose files to add. I get the following error:

Uncaught TypeError: Cannot convert undefined or null to object
    at g.cleanup (backbone.min.js:1)

Error in console: enter image description here

How it shows when I try to choose an image: enter image description here

I have the Classic Editor plugin installed so I can use it the classic way. I have disabled all other unnecessary plugins but the problem still persists. It's only happened since the new WP core update to 5.3 yesterday.

Any ideas what's going on here?

  • Having the same issue, glad I'm not alone. – Arda Nov 15 '19 at 11:23

I had the same problem. In my case it was the Enhanced Media Library plugin, which looks as though it has not been updated in some time. I deactivated it, and all is good.

  • 2
    Same here. Thanks for the hint. – Adrian Dec 19 '19 at 14:14
  • 1
    Yep, it is. Thanks for the help. And this description of Enhanced Media Library says a lot: "Last Updated: 2 years ago. Requires WordPress Version: 4.5 or higher. Compatible up to: 4.9.15". – Kostiantyn Petlia Jul 3 '20 at 9:24
  • Added EML 3 years ago. During a sweeping upgrade to Gutenberg this week, the image block would fail when loading an image. Disabling this plugin worked. This should be the solution. – cngodles Jul 31 '20 at 18:04

Right, so what worked for me was upgrading my PHP version to 7.2 and that did the job.

I was using 7.0 before.


My problem was with ŧhe Enhanced Media Library plugin and this solution worked for me https://wordpress.org/support/topic/quick-fix-for-upload-breakage-after-wp-5-3/

  • 1
    Can you include the solution in your answer? A link offsite isn't an answer. You can link offsite to support your answer but the answer needs to be understandable without leaving the site. Edit your answer to include the solution using the edit link underneath the answer text – Tom J Nowell Jul 23 '20 at 18:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.