How to fix Undefined index notice in contribution_date_relative?
Aivars,

Have logged an issue for this in CiviCRM here and submitted a PR for this fix. Can you please test by applying patch from here? If it works for you than please add a comment on PR which will help to get this fix in core and have it available in next release.

Cheers

Pradeep