Thursday, June 15, 2017

Tips when Add Media Button in Wordpress do not work

When your wordpress website autoupdates and soon you are finding the media library as blank.Then on pages and posts you find the add media button not working. You might asks the web host for the error logs. But it does not help you.Here is a hotfix for a situation like this.

1. Delete the cache of your browser.
2. Look up the plugins & check whether they are all fine.
3. Check whether the problem persists.
4. If yes, Download the wp-config.php file from your wordpress website's root folder.
5. Find the following line in the file
define('WP_DEBUG', false);
change the false to true.
6. Now check the website as well as the dashboard and wait for some errors to throw up.
7. If nothing happens, revert back the true to false.
8. Find the line
require_once(ABSPATH . 'wp-settings.php');
9. Add the following line of code just before the above said code.
define('CONCATENATE_SCRIPTS', false );
10. Your issue will be solved in most of the cases.

0 comments: