How to fix ‘Add new plugin menu’ missing in WordPress

William Yu
2 min readJul 8, 2021

--

Plugins are very important for WordPress development. By default, we can add new plugin in the WordPress sidebar.

However, I just found that the ‘Add new plugin menu’ is missing in my WordPress site.

The plugins can only be clicked as shown the list of installed plugins. Which means I cannot add new plugins on my site.

To fix this issue, I tried several ways. Firstly, I changed the theme to the default one. But it did not work. Secondly, I tried to deactivate all the plugins and re-active them later. Unfortunately, there was no magic.

Finally, I did some research, and found the solution. Go to the file system of the WordPress site, and find the ‘wp-config.php’ file. Usually, it is located in the root install-directory. Then, open it and find the very last two lines of code. Which is:

Just simply change the ‘true’ to ‘false’, and save it. The ‘add new plugin menu’ will be back!

Originally published at https://williamyuaus.com on July 8, 2021.

--

--

William Yu
William Yu

Written by William Yu

Software Developer from the user side

Responses (1)