WordPress Fix – Add Media Button Not Working

Posted on: December 13th, 2012 by carnfield

Hello everyone and this is a fix for a common issue in WordPress 3.5.

WordPress Fix – Add Media Button Not Working

Basically you’ve just updated your install of WordPress and bang! The Add Media button doesn’t work!  What to do?
Never fear, Carnfield is here – with a fix!

Basically you need to open your “wp-config.php” file in the root of your WordPress Install.
Search for this line:

require_once(ABSPATH . 'wp-settings.php');

And just before it add this code:

define('CONCATENATE_SCRIPTS', false );

Now your WordPress Install should be fixed!

Tags: , , , , , ,

43 Responses

I did this, but it’s still nog working 🙁

Web Design says:

Try disabling all plugins, some times its an issue with the theme too.

Hi, I did place the additional text to my wp-confid.php file and have disabled all my plugins, but still it didn’t work for me. Any additional idea? Thanks

[…] I found a suggestion in this post entry, Plugin not working with WordPress 3.5 which directed me to this trick on this website, Carnfield: WordPress Fix – Add Media Button Not Working. […]

Bill Bliss says:

Worked for me, thanks!

Kim Werker says:

Thanks so much for this! It worked for me.

Rebecca says:

Awesome! This seems to have worked for me. Thanks!

Andy says:

Super answer! Works for me.

Rob says:

Thanks a lot for this fix, it worked. I used WP 3.5 for an entire month and the issue just decided to come out of nowhere this afternoon.

What exactly does that line do, though? I noticed that my WYS pages all load slower, but I don’t see any other downside that’s come from this.

Sunira says:

Oh thank you so much! This worked perfectly!

Jeff says:

Great, this worked perfectly for us!
Thanks so much, this has been happening to us a lot recently.

kristof says:

Worked like a charm. Thx a lot!

Petra says:

Thanks so much for this tip to solve this problem. I’m not so technical (yet :-)). Can you please tell me where I can find:
Basically you need to open your “wp-config.php” file in the root of your WordPress Install.

I have a theme installed, i don’t know if that gives additional ‘problems’.

Thanks again for your feedback!

Petra says:

Thanks for your solution to the problem.. I’m not so technical (yet). Can you explain to me where i can find:
Basically you need to open your “wp-config.php” file in the root of your WordPress Install.

Thanks for the effort and reply!

Web Design says:

Hello Petra, you would need FTP access for this, if you try updating wordpress to a newer version it might work without this hack.

Leland says:

Thanks a ton for this! It worked like a charm!

Warm says:

Worked first time. Thank you VERY much!

KellyAZ says:

Thanks! This worked for me! No help from the WordPress forums. Can you add a note explaining why this was necessary and how it fixes the problem?

Thanks again!

Gina says:

Thanks a lot!! I was so worried, and this helped me a lot. Again; thank you!

Qtreck stuff says:

Thanks Man its working………… thank you so much.

Tomislav says:

Worked for me, but I would really like to know what did this part of code: “define(‘CONCATENATE_SCRIPTS’, false );” really do ?

Web Design says:

Hi; This disables Javascript Concatenation

Royce says:

Thanks for this fix, it worked! I hope it remains fixed… the WordPress support forums were totally useless. As others have also asked, if you could explain what is inherently wrong with WP3.5.1 that this fix is necessary and what the fix does, we’d appreciate it! Just trying to understand.

Web Design says:

Its to do with the Theme / Plugins that you are using and scripts in easy to understand terms 🙂

Great fix, thanks heaps

Michael K says:

Worked for me too. Thanks!

michael says:

thank you very much, work like a charm 😛

Josh says:

Thank you for the fix – it worked for me.

Avijit says:

Thanks so much for the tip and the code, it worked like a charm for me! 🙂

Santiago says:

Wow!! Great. Working so good. Thanks!

Lisa Waters says:

It didn’t seem to work for me. I am using WordPress 4.1.1

Annie Star says:

My problem was my Platinum SEO Pack. As soon as I deleted the plugin, my Add Media button worked great. Now to figure out another plugin that will do what I need without the same issue.

Richard Cox says:

I had the same issue, I fund that two jQuery files were missing jquery.ui.tabs.min.js and jquery.ui.tooltip.min.js. I found the source in Google Code. they need to be placed in “wp-includes/js/jquery/ui”

bijoy says:


Anne says:

My Add Media button seemed to stopped working when I downloaded version 4.3 Billie.
Hope you can help me resolve this. Can you explain to me where i can find:
Basically you need to open your “wp-config.php” file in the root of your WordPress Install.

Greatly appreciate the help!! Thanks!

Enrique says:

You´re the best! Thanks.
It works like a charm.

Juan says:

It worked for me, THANKS!!!

Aman says:

It worked for me. I added the code as given by you and then cleared the page cache.
I was looking for the solution on wordpress forum but could not find the solution. Thanks for solving our problem 🙂

Johnny says:

Thank you. Worked fine for me (WordPress v. 4.7.3). Dont forget to save your file to the server. Then refresh the page you are editing in your worpress website and use the Add Media button.

Memographer says:

Fixed it! Thanks a lot!

KeLoX says:

Worked for me! Thanks very much!

TechGuar says:

Thank you this was a perfect solutions. The proble has been resolved. Thanks a lot.

Tenri says:

Thanks, the problem has been solved

Leave a Reply to Santiago