This weekend, I received an email from my friend who couldn’t install plugins. Not because installing or deleting a plugin caused a WordPress error. But because the add new plugin menu was missing.
He was working on his project and he installed the ASTRA theme, some day’s he got an error – Add New Plugins Menu Not Showing In WordPress.
After that, we deactivated all the plugins, and sometime later we activated all these plugins. but we did not get any result.
Or sometimes Appearance/Theme Editor this option also hide In the Dashboard because of this error.
After some deep research, we found an alternate, let’s see,
whenever you getting this kind of Error, go to your CPANEL and open the wp-config.php file. and search :
define('DISALLOW_FILE_EDIT', true); define('DISALLOW_FILE_MODS', true);
you can see conditions are true on these two lines, we just need to false these conditions like this:
define('DISALLOW_FILE_EDIT', false); define('DISALLOW_FILE_MODS', false)
now you can see the field, Add new Plugin in Dropdown.
Whenever you see, Add new Plugin and Theme Editor are not showing in the Admin sidebar please follow these steps, definitely, you will find your Solution.
Article Credit By Mr. Saurabh Signh Aswal.
In this article, we learned how to fix this error, Add New Plugins Menu Not Showing In WordPress.