Warnings about missing index during SmartGroup migration in upgrade to 5.19.1
Overview
During an upgrade (from 5.13 to 5.19.1) I saw lots of these errors/notices/warnings:
Uninitialized string offset: 0 SmartGroups.php:178
I don't think this is harmful, but it should be fixed.
CRM_Upgrade_Incremental_SmartGroups::renameField()
assumes that the saved form_values
is an array with an item at index zero.
For whatever reason we had lots of groups where this wasn't - but presumably this affects all hidden 'smart' groups created when you do a mailing to (selected) search results.
Expected behaviour
Upgrade should run cleanly. We should fix this for the next release.
Environment information
- PHP: 7.0