This thread is resolved. Here is a description of the problem and solution.
Problem:
If you're experiencing issues with incorrect repeater field labels in confirmation emails when using WPForms with the WPForms Multilingual plugin, such as seeing labels like 'Field ID #6_2' instead of the correct form labels.
Solution:
We recommend following these steps to resolve the issue:
1. Ensure you back up your site for safety.
2. Navigate to
/wp-content/plugins/wpml-wpforms/classes/Hooks/WpForms/Notifications.php
and locate line number 92.
3. Replace the existing code:
$field['name'] = $formPostFields[ $key ]['label'];
with:
$field['name'] = $formPostFields[ $key ]['label'] ?? $field['name'];
This change should correct the label display in your confirmation emails. Please try this solution and let us know the results.
If this solution does not apply to your case, or if it seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. Should you need further assistance, please do not hesitate to open a new support ticket at WPML support forum.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.