The primary concern with waste solids would be the presence of heavy metals, I think, but those shouldn't be getting into the waste water stream anyway. Heavy metals are a concern anyway in phosphate fertilizer; many deposits of phosphorites have troublesome amounts of cadmium.
Biological contamination seemed like a bigger issue to me since the solids could be re-colonized post-processing.
Maybe this is a more processed product than I’m thinking of. Surely their not selling literal bags of poop, maybe it no longer resembles human feces enough for bacteria?
I think I'd also worry about residual drugs. Some don't break down quickly.
Wikipedia says this:
"Metformin and its major transformation product guanylurea are present in wastewater treatment plant effluents and regularly detected in surface waters. Guanylurea concentrations above 200 μg/L have been measured in the German river Erpe, which are amongst the highest reported for pharmaceutical transformation products in aquatic environments."