TypeError thrown
date_time_set(): Argument #1 ($object) must be of type DateTime, bool given