WordPress Fix – Add Media Button Not Working

WordPress Fix – Add Media Button Not Working
on January 23, 2014 in Blog

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!

Share This Post
Incoming Search Terms
  • Maarten Koller
    December 23, 2012

    I did this, but it’s still nog working :(

    • Web Design
      December 30, 2012

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

      • FilmanSantiago
        February 16, 2013

        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

  • Pingback: Headache with Wordpress 3.5? | Journeying

  • Bill Bliss
    January 3, 2013

    Worked for me, thanks!

  • Kim Werker
    January 3, 2013

    Thanks so much for this! It worked for me.

  • Rebecca
    January 6, 2013

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

  • Andy
    January 8, 2013

    Super answer! Works for me.

  • Rob
    January 9, 2013

    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
    January 11, 2013

    Oh thank you so much! This worked perfectly!

  • Jeff
    February 8, 2013

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

  • kristof
    February 11, 2013

    Worked like a charm. Thx a lot!

  • Petra
    February 15, 2013

    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
    February 15, 2013

    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
      March 7, 2013

      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
    February 17, 2013

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

  • Warm
    February 18, 2013

    Worked first time. Thank you VERY much!

  • KellyAZ
    February 22, 2013

    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
    March 17, 2013

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

  • Qtreck stuff
    March 21, 2013

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

  • Tomislav
    April 3, 2013

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

    • Web Design
      July 2, 2013

      Hi; This disables Javascript Concatenation

  • Royce
    April 7, 2013

    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
      July 2, 2013

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

  • Andrew Harris
    April 29, 2013

    Great fix, thanks heaps

  • Michael K
    May 17, 2013

    Worked for me too. Thanks!

  • michael
    May 20, 2013

    thank you very much, work like a charm :P

  • Josh
    July 15, 2013

    Thank you for the fix – it worked for me.

  • Avijit
    November 10, 2013

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

  • Kristin Peterson
    December 12, 2013

    Thanks for the fix, worked perfectly!

  • Muhammad Amin
    December 20, 2013

    Works..! Great.

  • max
    December 24, 2013

    I am using the 3.8 and i change the config file and nothing ? its so weird it did . work in the past than stoped for no reason than worked again, than stop . then i re downloaded it again and the add media worked once and dead again

    I need help

  • Amit Bajaj
    December 29, 2013

    Thanks a ton man. It’s been more than a month since I started facing this problem. Tried everything, deactivated all plugins, even changed theme to test, but nothing worked. And your solution worked like perfect. Thanks again!!

  • kostas
    December 29, 2013

    Worked for me. Thank you

  • kostas
    December 29, 2013

    Also fixes the problem with menu structure!

  • [email protected]
    January 10, 2014

    january,10 2014. THIS WORKED FINE for me.

  • Joel Wood
    January 20, 2014


  • dan
    February 8, 2014

    I’ve been tearing my hair out for the last few hours trying to work out why this wasn’t working and was ready to just delete my whole site and start again but thanks to you it’s all fixed.

  • Graeme Voigt
    August 30, 2014

    THANK YOU! This worked for me… every other site or blog on this topic were no where close! They are all full of messy solutions that don’t work for me – this is perfect!

Leave A Reply