View Issue Details

IDProjectCategoryView StatusLast Update
5246Composr alpha bug reportsGeneral / Uncategorisedpublic2023-02-09 20:55
ReporterPDStig Assigned ToChris Graham  
PrioritynormalSeverityminor 
Status resolvedResolutionfixed 
Summary5246: Composr fast custom index: PHP error on Cron
DescriptionPHP NOTICE [8] Undefined index: field_3 in sources/database_search.php on line 730

field_3 is being requested by $fields_to_index for a catalogue entry in the projects catalogue. However, the $content_fields array does not contain a field_3. I have no idea why; I'd assume it should be there given get_content_fields_from_catalogue_entry .
TagsNo tags attached.
Attach Tags
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

Chris Graham

2023-02-09 20:55

administrator   ~7895

The issue is that $fields_to_index needed to be reset on each iteration, as each iteration was potentially an entry for a different catalogue.

Issue History

Date Modified Username Field Change
2023-01-19 23:57 PDStig New Issue
2023-01-19 23:57 PDStig Status Not Assigned => Assigned
2023-01-19 23:57 PDStig Assigned To => Chris Graham
2023-02-09 20:55 Chris Graham Status Assigned => Resolved
2023-02-09 20:55 Chris Graham Resolution open => fixed
2023-02-09 20:55 Chris Graham Note Added: 0007895
2023-02-26 18:29 Chris Graham Category General => General / Uncategorised