Driver FixRecommendedSound, Wi-Fi or graphics acting up? Check drivers firstFind missing or outdated drivers fast.Check DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan Now×
Skip to content
World desk5 min

How to Fix the Add Media Button Not Working in WordPress

Find where the Classic Editor’s Add Media workflow fails, capture useful browser evidence, and narrow the cause to a browser, plugin, theme, custom code, cache, or server issue.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

If the Classic Editor’s Add Media button is unresponsive, first identify exactly where the workflow fails: the media window may not open, its upload controls may be missing, or selecting an item may not insert it. Then use the browser console and network evidence to narrow down whether the problem is browser-specific, caused by a plugin, theme or custom code, or connected to the server. There is no single fix that applies to every WordPress site.

“Add Media” is the Classic Editor label. The block editor uses different media controls, so the steps below apply when you are working in the Classic Editor.

As an Amazon Associate I earn from qualifying purchases.

Identify which part of Add Media is failing

Use the normal Classic Editor workflow as a reference point: place the cursor where the image should go, click Add Media, choose Upload Files or Media Library, select an item, then click Insert into post or the corresponding page action. The Classic Editor instructions describe this sequence.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • The button does not open anything: the click or media-window launch may be failing.
  • The media window opens, but the upload button is missing: a control may be hidden or unavailable; note whether the Media Library still works.
  • The library hangs or looks broken: distinguish a loading failure from controls that are visually misplaced.
  • You can select an item, but click Insert into post and nothing happens: focus on the insertion step and any request made when you click.

Record what you clicked and what happened. These are different symptoms, and the distinction helps avoid changing unrelated settings.

#1 Best Overall
Sale
Logitech M185 Compact Ambidextrous 2.4 GHz Wireless Mouse - Swift Grey
  • Compact Mouse: With a comfortable and contoured shape, this Logitech ambidextrous wireless mouse feels great in either right or left hand and is far superior to a touchpad
  • Durable and Reliable: This USB wireless mouse features a line-by-line scroll wheel, up to 1 year of battery life (2) thanks to a smart sleep mode function, and comes with the included AA battery
  • Universal Compatibility: Your Logitech mouse works with your Windows PC, Mac, or laptop, so no matter what type of computer you own today or buy tomorrow your mouse will be compatible
  • Plug and Play Simplicity: Just plug in the tiny nano USB receiver and start working in seconds with a strong, reliable connection to your wireless computer mouse up to 33 feet / 10 m (5)
  • Better than touchpad: Get more done by adding M185 to your laptop; according to a recent study, laptop users who chose this mouse over a touchpad were 50% more productive (3) and worked 30% faster (4)

Check the browser before changing site settings

Try the same action in another browser. This is a comparison, not a guaranteed fix: if it works there, the difference may help isolate a browser-specific issue or extension, but it does not establish the underlying cause.

  1. Open the WordPress editor and the browser’s developer tools.
  2. Select the Console tab, reload the editor if needed, and reproduce the failure.
  3. Copy the full error and stack trace, including the filename and line number. Note the browser and the action that triggered it.
  4. If you are comfortable testing it, follow WordPress’s guidance on enabling SCRIPT_DEBUG and record whether that changes the behavior. Do not leave diagnostic settings enabled unintentionally.

WordPress’s JavaScript troubleshooting guide says: “If you encounter broken menus, metaboxes that won’t drag, or buttons that don’t work (such as Add Media), these may be caused by JavaScript errors or conflicts.” The guide was last updated September 23, 2026. That makes JavaScript errors or conflicts a reasonable line of investigation, not a diagnosis of any particular site.

Rank #2
Sale
Logitech G305 Lightspeed Wireless Gaming Mouse - Black
  • The next-generation optical HERO sensor delivers incredible performance and up to 10x the power efficiency over previous generations, with 400 IPS precision and up to 12,000 DPI sensitivity
  • Ultra-fast LIGHTSPEED wireless technology gives you a lag-free gaming experience, delivering incredible responsiveness and reliability with 1 ms report rate for competition-level performance
  • G305 wireless mouse boasts an incredible 250 hours of continuous gameplay on just 1 AA battery; switch to Endurance mode via Logitech G HUB software and extend battery life up to 9 months
  • Wireless does not have to mean heavy, G305 lightweight mouse provides high maneuverability coming in at only 3.4 oz thanks to efficient lightweight mechanical design and ultra-efficient battery usage
  • The durable, compact design with built-in nano receiver storage makes G305 not just a great portable desktop mouse, but also a great laptop travel companion, use with a gaming laptop and play anywhere

If you ask a developer or support team for help, provide the exact symptom, browser, complete error and stack trace, filename and line number, triggering action, and whether SCRIPT_DEBUG changed anything. Preserve this evidence before trying several changes at once.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use the evidence to isolate site customizations

If the console points to a script, or the problem started after an update, test on a staging copy when possible. If staging is unavailable, take care not to disable components on a live site in a way that disrupts visitors or essential site functions.

Rank #3
Sale
Logitech M185 Compact Ambidextrous Wireless Mouse with Rubber Grips - Blue
  • Compact Mouse: With a comfortable and contoured shape, this Logitech ambidextrous wireless mouse feels great in either right or left hand and is far superior to a touchpad
  • Durable and Reliable: This USB wireless mouse features a line-by-line scroll wheel, up to 1 year of battery life (2) thanks to a smart sleep mode function, and comes with the included AA battery
  • Universal Compatibility: Your Logitech mouse works with your Windows PC, Mac, or laptop, so no matter what type of computer you own today or buy tomorrow your mouse will be compatible
  • Plug and Play Simplicity: Just plug in the tiny nano USB receiver and start working in seconds with a strong, reliable connection to your wireless computer mouse up to 33 feet / 10 m (5)
  • Better than touchpad: Get more done by adding M185 to your laptop; according to a recent study, laptop users who chose this mouse over a touchpad were 50% more productive (3) and worked 30% faster (4)

Compare plugin behavior

Temporarily deactivate plugins in the test environment and check Add Media again. If the problem stops, reactivate plugins one at a time until it returns; the change can help identify a conflict. Check the relevant plugin’s current changelog and support information if the issue began with an update.

A support report describes one plugin-specific regression in which an upload control was missing and the vendor said version 4.2 included a fix. That is evidence about that plugin and report only, not a general recommendation to install or downgrade to version 4.2. Confirm the current status and compatibility for the plugin you use.

Rank #4
Amazon Basics 3-Button USB Wired Mouse with Responsive Tracking, Plug & Play, Compatible with Windows and Mac, Black
  • Computer mouse for easily navigating a computer interface; click, scroll, and more
  • USB-A wired connection; if existing device only supports USB-C, an additional adapter will be required
  • High-definition (1000 dpi) optical tracking ensures responsive cursor control for precise tracking and easy text selection
  • 3 buttons offer effortless fingertip control
  • Plug-and-go ready for instant use

Compare with a default theme

On staging, temporarily switch to a default WordPress theme and repeat the same action. If behavior changes, investigate theme scripts or styling; if it does not, that comparison makes the theme less likely to explain the issue, but does not rule out every interaction. A support response suggested a default-theme comparison for one insertion failure, not as a universal remedy.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Review custom admin code and caching

Look for custom code that changes the dashboard or injects, removes, or rearranges scripts and styles. One resolved support case traced a visually broken media picker to custom head/footer cleanup code interfering with code generated for the picker. Treat this as a useful lead if you have similar customizations, not as a standard fix.

Best Value
Sale
Acer Wireless Mouse for Laptop, 2.4GHz Computer Mouse 3 Adjustable 1600 DPI
  • 【Plug and Play for Home/Office/School】The wireless computer mouse features 2.4GHz connectivity, delivering a stable, interference-free connection up to 32ft. Designed for 𝐦𝐞𝐝𝐢𝐮𝐦 𝐭𝐨 𝐥𝐚𝐫𝐠𝐞 𝐬𝐢𝐳𝐞𝐝 𝐡𝐚𝐧𝐝𝐬, it ensures comfortable use all day. Simply plug in the USB-A receiver for instant pairing—no drivers needed. 📌📌 If the mouse isn’t suitable, place the USB receiver in the battery compartment and return both.
  • 【3 Levels Adjustable DPI】This travel USB mouse offers 3 adjustable DPI settings (800, 1200, 1600), allowing you to customize sensitivity for precise design work. Effortlessly switch to match your task and elevate your productivity. 📌 Please remove the film at the bottom of the mouse before use.
  • 【Effortless Browsing】Equipped with forward and backward buttons, this computer mice streamlines your workflow, making it easy to navigate through web pages and files with a simple click. 📌Side button does not work on Mac.
  • 【Visible Indicator Light】 The pc mouse features a visual indicator for DPI levels and low battery alerts. The red light flashes once for 800 DPI, twice for 1200 DPI, and three times for 1600 DPI. When the battery level is below 10%, the light flashes red until the mouse is completely out of power.
  • 【Click to Wake】With smart sleep mode, it saves power by standby after 10 inactive minutes, just 2-3 clicks to wake. This efficient design delivers 3x longer battery life than motion-wake mice. Engineered for durability, its buttons and scroll wheel are tested for 10 million clicks, ensuring long-term reliability and consistent performance.

Where relevant, clear browser, site, and CDN caches, then temporarily rule out caching behavior as a cause. Change one thing at a time so you can tell whether behavior changed. A support thread reporting an admin-ajax.php error after a PHP upgrade also discussed cache, theme, and plugin checks; it does not establish that PHP 8.3 is generally incompatible with WordPress media uploads.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Inspect failed requests and escalate server errors

If the button opens but insertion fails, or the media library hangs, inspect the browser’s Network tab while reproducing the problem. If a request to admin-ajax.php returns an error, save the status, request details, and timestamp. A 403 indicates access was denied; a 500 indicates a server error. Neither status identifies which component caused it.

Contact your hosting provider and ask them to check the matching request in server logs. Depending on the evidence, relevant checks may include file permissions, ModSecurity or other security rules, and server-side or CDN caching behavior. Share the timestamp and request details so support can match your reproduction to its logs. Do not permanently disable security protections or make blind changes to production configuration.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Support reports include an insertion failure with a 403 and another with a 500 after a PHP upgrade. These are examples of errors WordPress users have encountered, not proof that a particular security tool, migration, cache, theme, plugin, or PHP version is responsible for your failure.

Quick Recap

SaleBestseller No. 1
Logitech M185 Compact Ambidextrous 2.4 GHz Wireless Mouse - Swift Grey
Logitech M185 Compact Ambidextrous 2.4 GHz Wireless Mouse - Swift Grey
Product carbon footprint: 3.97 kg CO2e; Contoured shape: Gives you more comfort and control
$14.85
SaleBestseller No. 3
Bestseller No. 4
Amazon Basics 3-Button USB Wired Mouse with Responsive Tracking, Plug & Play, Compatible with Windows and Mac, Black
Amazon Basics 3-Button USB Wired Mouse with Responsive Tracking, Plug & Play, Compatible with Windows and Mac, Black
Computer mouse for easily navigating a computer interface; click, scroll, and more; 3 buttons offer effortless fingertip control
$9.70

Choose the next check from what you observed

Evidence What to check next
Works in another browser Compare browser settings or extensions; keep the result as a clue, not a confirmed fix.
Console shows a JavaScript error Save the complete error and trace, then investigate the named script and test plugins, theme, and custom admin code on staging.
Upload control disappeared after a plugin change Check that plugin’s current changelog and support information.
Picker is visually misplaced or broken Test theme styling and custom dashboard scripts or code on staging.
admin-ajax.php returns 403 or 500 Record the request and timestamp and ask the host to inspect matching logs and server-side rules.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.