Problem: When the Church Content plugin is active, I cannot delete a repeatable field group (RFG) because the slug is modified to add "-2" at the end of the current slug. This happens automatically.
Solution: The conflict seems to occur when the Church Content plugin is active. You can temporarily deactivate the plugin while editing RFGs, permanently deactivate the plugin and recreate its functionality elsewhere, or add a custom filter-based workaround:
Problem: We have one repeatable field group (RFG) that contains another nested RFG. We would like to build a nested array in PHP that contains information from the nested RFG structure, but we are not able to access custom field values in the nested RFG using the toolset_get_related_posts API and get_post_meta.
Solution: In this case the inner, nested toolset_get_related_posts API call must be updated to query by the current outer RFG's post ID as opposed to querying by the ID of the post containing the RFGs. In the case of the outer RFG, querying by the ID of the post is appropriate, but in the case of the inner RFG, you should query by the ID of the outer RFG since the post relationship is technically established between the two RFGs.