Getting this notice in an edge case when $elements[$delta] has not been initialised or was unset.
Undefined array key 0 in Drupal\smart_date\Plugin\Field\FieldFormatter\SmartDateFormatterBase->viewElements()
MR coming
Issue fork smart_date-3552182
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
vancec commentedConfirm patch fixes the log spam created by this issue, no issues with patch after a few months in production.
Comment #5
mandclu commentedI can see the need for the proposed change, though as implemented it does slightly change the logic. I have updated the MR, please confirm that the updated version still fixes your issue.
Comment #6
mandclu commentedComment #7
mandclu commentedComment #9
mandclu commentedMerged into the 4.3.x. branch