Notice: Undefined index: plugins in […]plugins.php
-
Recent changes:
- Installed plugin “Most Commented” version 2.2
- I was experimenting with plugin files in “/wp-content/plugins/most-commented/”, at one point duplicating and renaming the plugin’s file in an attempt to make a backup. I then delete the whole “most-commented” directory via FTP, and installed my own edit of the “Most Commented” plugin by creating a directory with the plugin’s file inside. The plugin works.
Symptoms:
- On the plugins page of the admin panel, the following is displayed at the top of the page, while plugins still seem to work:
Notice: Undefined index: plugins in /home/content/98/7276698/html/wp-admin/plugins.php on line 16'</li> <li>I can install plugins automatically just fine, but when I activate them, I get various errors depending on the widget. Here is an example:
Notice: Undefined index: plugins in /home/content/98/7276698/html/wp-admin/plugins.php on line 16
Warning: Cannot modify header information – headers already sent by (output started at /home/content/98/7276698/html/wp-admin/plugins.php:16) in /home/content/98/7276698/html/wp-includes/pluggable.php on line 890
Warning: Cannot modify header information – headers already sent by (output started at /home/content/98/7276698/html/wp-admin/plugins.php:16) in /home/content/98/7276698/html/wp-includes/pluggable.php on line 890`</li></ul>
In response to the header information warnings, I have tried looking for extra characters in plugins.php at line 16, as recommended by https://codex.www.ads-software.com/FAQ_Troubleshooting, but I didn’t see anything out of the ordinary:
else if ( $menu_perms['plugins'] != 1 && is_super_admin() )
Recommendations?
- The topic ‘Notice: Undefined index: plugins in […]plugins.php’ is closed to new replies.