Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If the rrssb
JavaScript library is not installed properly, you will get a notice as follows:
Notice: Undefined index: description in rrssb_requirements() (line 183 of modules/contrib/rrssb/rrssb.module).
It looks like $requirements['rrssb']['description']
needs to be initialized at the top of the function.
Comment | File | Size | Author |
---|---|---|---|
#4 | 2668476-4.patch | 584 bytes | heykarthikwithu |
Comments
Comment #2
AdamPS CreditAttribution: AdamPS commentedThanks for the report. Please describe how to hit the bug. From a glance at the code, perhaps if the library is not installed then you go to the status report in Drupal UI.
The 'not installed' branch of code looks like the one missing a description anyway, so can set it there rather than at top of function.
Comment #3
slinky CreditAttribution: slinky commentedI just installed the module. Went to configuration and the error message appeared at the top of the configuration menu:
Notice: Undefined index: description in rrssb_requirements() (line 372 of /home/mysite/public_html/d/sites/all/modules/rrssb/rrssb.module).
Comment #4
heykarthikwithuA check is been added before rendering 'description'.
Comment #5
AdamPS CreditAttribution: AdamPS commentedThanks. I committed a slightly different patch. I thought it was worth keeping the text explaining how to download the library.