You have a custom field which contains frequency data of the recurring pay component you want to publish and after you did the publishing to EC from Comp the frequency field has no value (blank).
Reproducing the Issue
Your custom field is 'customFrequency' with value of 'MON'.
You have this Publish Settings;
And your recurring pay component has this values.
Your recurring pay component's Frequency field value is either blank or is of a different value.
Set your recurring pay component's Frequency field value same as what you have in the formula field of your custom field for Frequency (In this example: 'customFrequency').
2631170 - Frequency related error during Comp Form Launch - Compensation
publish frequency, frequency blank, CMP-14282 , KBA , LOD-SF-CMP-EC , EC data, config & settings within Compensation , How To