View Issue Details

IDProjectCategoryView StatusLast Update
5176Composr alpha bug reportsGeneral / Uncategorisedpublic2022-12-20 16:17
ReporterPDStig Assigned ToChris Graham  
PrioritynormalSeverityminor 
Status assignedResolutionopen 
Summary5176: 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.
Attach Tags
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

PDStig

2022-12-20 16:17

administrator   ~7818

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.

Add Note

View Status
Note
Upload Files
Maximum size: 32,768 KiB

Attach files by dragging & dropping, selecting or pasting them.
You are not logged in You are not logged in. This means you will not get any e-mail notifications. And if you reply, we will not know for sure you are the original poster of the issue.

Issue History

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