• [ Moved to Fixing WordPress from Everything Else WordPress ]

    I can no longer add media to a post. I click add media and then click select files and the browser to select photos will not open. This occurred on my home pc and now I am trying again at work with no luck. I have deactivated all of my plugins I even wiped and reset my entire WP site back to the default status since I was just getting started. Nothing will allow me to add media.

    please help (WP beginner)

Viewing 8 replies - 1 through 8 (of 8 total)
  • Moderator t-p

    (@t-p)

    Have you tried:
    – deactivating ALL (yes all) plugins temporarily to see if this resolves the problem (plugin functions can interfere). If this works, re-activate them individually (one-by-one) to find the problematic plugin(s).
    – switching to the unedited default Theme (Twenty Sixteen.) for a moment using the WP dashboard to rule out any theme-specific issue (theme functions can interfere like plugins).

    Thread Starter mohagannie

    (@mohagannie)

    I have done everything you mentioned. No luck. I have erased all the post and data and gone back to the original wordpress default setting and I still cannot click add media and the browser will open to actually add media.

    Moderator t-p

    (@t-p)

    Try flushing any caching plugins you might be running, as well as server and/or browser caches. Not just your browser, but any op cache or content network cache as well such as Cloudflare. If your host provider has a “Purge Varnish” option or if you can ask your provider to flush memcache on your server. If you are using SiteLock, manage your caching there.

    I have solved this issue by switching off the MODsecurity in the cPanel.
    I had two problems actually:
    1. Add media button didn’t insert any media into editing area.
    2. Post update/publish returned 404 and didn’t save.
    I hope this will help.

    Hi,
    I am facing a similar problem. Add media does not work and SEO meta description box does not show. I have tried disabling all the plugins. Please help me resolve.

    I even tried disabling mod security but that did not resolve the issue.

    This worked for me…

    Please add this line to wp-config.php file:

    define(‘CONCATENATE_SCRIPTS’, false );

    just before /* That’s all, stop editing! Happy blogging. */

    I’ve had this issue for months and have only just solved it. Check that you do not output anything before the <HTML> tag in the header. I had a comment that output the remote IP address e.g. <!– xxx.xxx.xxx.xxx –>, this was the cause of the problem. This innocuous comment was being included in the JSON being used by the Add Media AJAX calls to find the images. As soon as I’d spotted it, removed it. Hey Presto! The images then re-appeared. Hope this helps.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Add Media Button Does Not Work’ is closed to new replies.