Issue #2339119 by maximpodorov, darkdim: Notice: Undefined index: date in date_text_element_process()