AttributeError: 'NoneType' object has no attribute 'replace'

I think it’s the same issue I reported here Replication fails after upgrading to 25.04.2.1 [EFAULT] '<' not supported between instances of 'NoneType' and 'datetime.datetime' but nobody answered