#5286 - missing parameters for block_main_comcode_page_children

  • By
  • Added
  • 4 views
Identifier #5286
Issue type Major issue (breaks an entire feature)
Title missing parameters for block_main_comcode_page_children
Status Completed
Handling member Chris Graham
Addon General / Uncategorised
Description Recent optimisation code broke block_main_comcode_page_children:

PHP NOTICE [1024] A parameter, <kbd>PAGE</kbd>, is referenced in the template, <kbd>BLOCK_MAIN_COMCODE_PAGE_CHILDREN</kbd>, but not passed in sources/tempcode.php on line 210 (version: 11 alpha1, PHP version: 7.3.8-dev, URL: http://localhost/composr-mwn/)

Previous fix attempt caused a recursive loop include of the page being loaded (e.g. home), which was recently reverted.
Steps to reproduce

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated