How to Fix Add Media Button Not Working in WordPress
Not too long ago one among our customers reported that the ‘Upload Media’ button on their WordPress website online has unexpectedly stopped operating. This drawback does no longer show any error or caution which leaves customers clueless about why their ‘Upload Media’ button isn’t operating. On this article, we will be able to display you simply repair the ‘Upload Media’ button no longer operating factor in WordPress.
What reasons the WordPress ‘Upload Media’ Button to Forestall Running?
This drawback is frequently brought about by way of conflicting scripts or stylesheets loaded by way of WordPress plugins or issues put in for your website online. The default habits of WordPress is to load all required scripts and stylesheets by way of combining the requests.
That being mentioned, let’s check out troubleshoot and attach the ‘Upload Media’ button no longer operating in WordPress.
Solving Upload Media Button Now not Running Factor in WordPress
The short repair is so as to add the next code in your wp-config.php report. You’ll do that by way of editing wp-config.php file and including this code simply prior to the road that claims ‘That’s all, forestall enhancing! Glad running a blog’.
outline('CONCATENATE_SCRIPTS', false );
After getting added the code, pass forward and the discuss with publish edit display screen to peer if the upload media button is operating as anticipated.
Word: Including this code isn’t a correct long-term answer since you nonetheless have a script this is inflicting the problem. An more straightforward solution to in finding the supply of the issue is by way of the usage of the inspect tool. It’ll display you console mistakes which is able to lead you to the supply of the struggle.
If you wish to have a long-term repair for this factor, then you want to accomplish the elemental WordPress troubleshooting tips to determine which plugin or theme could also be inflicting the problem.
We strongly suggest that you just do that for your staging website online as a substitute of a reside website online. Right here’s a step-by-step information on how to create a WordPress staging site. All of the best WordPress hosting companies like Bluehost, SiteGround, WP Engine, and Liquid Web be offering 1-click staging capability.
In your staging website online, you want to start out by way of deactivating your whole WordPress plugins after which test if it fastened the ‘Upload Media’ button. If it does, then this implies probably the most plugins used to be inflicting the problem.
You’ll now turn on the plugins one-by-one, and after activating a plugin test the ‘Upload Media’ button. This may increasingly will let you in finding out which plugin is inflicting the problem. After you in finding the perpetrator, you’ll be able to exchange it with any other plugin or ask plugin author for help.
If deactivating plugins doesn’t clear up the problem, then the next move is to quickly transfer to a default WordPress theme like Twenty Seventeen.
If switching to the default theme fixes the problem for you, then this implies your theme is inflicting the struggle. You’ll ask theme creator for reinforce or transfer to another WordPress theme.
Whenever you in finding the supply of the issue for your staging website online, then you’ll be able to observe the repair for your reside WordPress website online.
We are hoping this newsletter helped you learn to repair upload media button no longer operating in WordPress. You may additionally wish to see our record of the most common WordPress errors and repair them.
The publish How to Fix Add Media Button Not Working in WordPress gave the impression first on WPBeginner.