Rename detect_phi_published to error