Skip to content

When a plugin INFO file is malformed or missing elements, plugin_load_info_file() should fill missing elements with defaults #2513

@interduo

Description

@interduo

Describe the bug
There is an empty plugin list.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'pluginlist'
  2. Click on 'log tab'
2019/03/13 10:13:01 - ERROR PHP NOTICE: Undefined index: requires in file: /var/www/html/cacti/plugins.php on line: 266
--
2019/03/13 10:13:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins.php[135]:update_show_current(), /plugins.php[323]:plugins_load_temp_table(), /plugins.php[265]:CactiErrorHandler())

Metadata

Metadata

Assignees

Labels

bugUndesired behaviourresolvedA fixed issue

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions