If you find yourself in a situation where you can no longer add or update modules directly from the WordPress dashboard, you can solve it by trying one of the following methods:
- Check for a theme conflict with other external files. Therefore try to temporarily activate another theme, then refresh the page. If this does not solve the problem, it means that the source of the lack of these options is not caused by the theme and you can move on to the next method.
- Check for conflicts between certain plugins. Disable one plugin at a time, and “refresh” after each disabled module, until the “add mode” options appear in the side menu. If you have done this with all the plugins and the problem is not fixed, you can activate the modules again and move on to the next method.
- Editing the wp-config.php file. Access the wp-config.php file from the public-html folder via the Cpanel panel or via FTP and open it for editing. At the bottom of the file you will find the following two lines of code.
define('DISALLOW_FILE_MODS',true);
define('DISALLOW_FILE_EDIT',true);
You will need to replace the word “true” with “false” on both lines. These features are designed to prevent users from editing files in the WordPress dashboard when they are set to “true”.