Exception when crossposting external feeds

I’m having an issue with crossposting items from external source that I configured, where I get the following error on the logs:

Feed: Cross-posting exception: 48730711, /home/manton/snippets/models/item.rb:881:in `rescue in crosspost_with', undefined method `log' for nil:NilClass, NoMethodError

None of the similar posts in the forum really helped me.

The items appear nicely in Micro.blog’s timeline, but in never of the crossposted services.

And another, this time with a feed from Micro.blog, not an external one.

Feed: Cross-posting exception: 48736192, /home/manton/snippets/models/item.rb:985:in `>', comparison of DateTime with nil failed, ArgumentError

That second one would surprise me if it’s really a Micro.blog feed item that is causing the issue as its suggesting it’s an entry without a date, which is required.

The most likely case for both of these is an RSS entry that is invalid in some way.

Invalid data is something that immediately crossed my mind, but not having any clue on what might be.