View Issue Details

IDProjectCategoryView StatusLast Update
0005246Composr alpha bug reports[All Projects] General / Uncategorisedpublic2023-02-09 20:55
ReporterPatrick SchmalstigAssigned ToChris Graham 
SeverityMinor-bug 
Status resolvedResolutionfixed 
Summary0005246: 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.
Sponsorship open

Activities

Chris Graham

2023-02-09 20:55

administrator   ~0007895

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 Patrick Schmalstig New Issue
2023-01-19 23:57 Patrick Schmalstig Status non-assigned => assigned
2023-01-19 23:57 Patrick Schmalstig 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