This issue has novice tasks. If you are an experienced core developer and have multiple commit mentions, please review novices' work on these tasks rather than doing them yourself. Feedback from experienced contributors is valued.
Problem/Motivation
- Clean install of Drupal 8, standard profile.
- Enable the forum module.
- Add the "New forum topics" or "Active forum topics" block to any region.
See this PHP notice:
Notice: Undefined variable: elements in Drupal\forum\Plugin\Block\ForumBlockBase->build() (line 32 of core/modules/forum/lib/Drupal/forum/Plugin/Block/ForumBlockBase.php).
Proposed resolution
Fix the PHP notice :)
Remaining tasks
- Write patch (novice)
- Review patch to check it fixes the issue, the change is properly documented and for coding standards. Provide test evidence (novice)
- Keep issue summary up to date (novice)
User interface changes
n/a
API changes
n/a