View Issue Details

IDProjectCategoryView StatusLast Update
0005176Composr alpha bug reports[All Projects] General / Uncategorisedpublic2022-12-20 16:17
ReporterPatrick SchmalstigAssigned ToChris Graham 
SeverityMinor-bug 
Status assignedResolutionopen 
Summary0005176: Sitemap: $child_row[$cma_info['category_is_string']] is NULL when the category is a string
DescriptionWhen trying to use the menu block, I get this error:

PHP NOTICE [8] type strictness error (_zval_get_string_func) in sources/sitemap.php on line 1210 (version: 11 alpha1, PHP version: 7.3.8-dev, URL: http://localhost/composr/data/preview.php?page=home&type=step2&keep_devtest=1&keep_fatalistic=2&keep_devtest=1&keep_fatalistic=2&utheme=admin)

It seems around that line is the presence of $child_row[$cma_info['category_is_string']], which $cma_info['category_is_string'] is NULL, and I'm questioning if that should even be part of the array index.
TagsNo tags attached.
Sponsorship open

Activities

Patrick Schmalstig

2022-12-20 16:17

administrator   ~0007818

Seems to only happen if you leave the menu parameter on the block blank. Does not happen if you specify a valid or invalid menu name.

Issue History

Date Modified Username Field Change
2022-12-20 16:13 Patrick Schmalstig New Issue
2022-12-20 16:13 Patrick Schmalstig Status non-assigned => assigned
2022-12-20 16:13 Patrick Schmalstig Assigned To => Chris Graham
2022-12-20 16:14 Patrick Schmalstig Description Updated View Revisions
2022-12-20 16:14 Patrick Schmalstig Description Updated View Revisions
2022-12-20 16:17 Patrick Schmalstig Note Added: 0007818
2023-02-26 18:29 Chris Graham Category General => General / Uncategorised