Problem/Motivation
Warning: Undefined variable $extensions_to_check in nagios_check_requirements() (line 461 of /is/htdocs/webdocs/web/modules/contrib/nagios/nagios.module)
TypeError: Drupal\nagios\Controller\RequirementsController::collectRequirements(): Argument #1 ($enabled_modules) must be of type array, null given, called in /is/htdocs/webdocs/web/modules/contrib/nagios/nagios.module on line 461 in Drupal\nagios\Controller\RequirementsController->collectRequirements() (line 41 of /is/htdocs/webdocs/web/modules/contrib/nagios/src/Controller/RequirementsController.php).
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | nagios-3404405-m6.patch | 1.01 KB | solideogloria |
Issue fork nagios-3404405
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3404405-undefined-variable-extensionstocheck
changes, plain diff MR !6
Comments
Comment #2
sleitner commentedComment #4
sleitner commentedPlease review.
Comment #5
solideogloria commentedMarking Critical, since Nagios isn't working at all right now due to this.
Comment #6
solideogloria commentedThis is a patch of the MR, for ease of use with composer patches.
The fix worked for me.
Comment #7
sleitner commented@Gogowitsch, @greg.harvey, @hoanns, @kbahey, @McChicken, @instanceofjamie please release an new tagged version to restore functioniality.
Comment #8
solideogloria commentedAlso consider marking 8.x-1.18 as "do not use" or "broken".
Comment #9
gogowitsch commentedThanks for your work, @solideogloria and @sleitner! I’ll release a new version later today. I am currently testing.
Comment #11
gogowitsch commentedI have released 1.19 and my production server is green again.
I am deeply sorry for the time you have lost due to my poor quality assurance of the previous release! I have marked it as broken.
Comment #12
solideogloria commentedNo problem. Thanks.