Title: Error in debug mode prevent use
Last modified: January 15, 2024

---

# Error in debug mode prevent use

 *  ResolvedModerator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/error-in-debug-mode-prevent-use/)
 * Hello,
 * many thanks for the wonderful plugin. It would make my current task much easier.
 * I have installed it in my local development environment. This is (of course) 
   running in debug mode. In this mode, however, there is a PHP warning in the middle
   of the HTML code generated by the plugin, which means that the entire functionality
   is not played out.
 * **Reason:**
   File repeater-field.php line 289
 *     ```wp-block-code
       <div class="repeater-field-warp-item-data" data-initial_rows_map="<?php echo esc_attr($initial_rows_map) ?>" data-map_id="<?php echo esc_attr($map_id) ?>" data-initial_rows="<?php echo esc_attr($initial_rows) ?>" data-limit="<?php echo esc_attr($limit) ?>">
       ```
   
 * The variable `$map_id` is output here, but it does not exist in every case. This
   results in a warning here.
 * A simple solution would be in line 284
 *     ```wp-block-code
       $map_id = 0;
       ```
   
 * in line 284.
 * It would be great if you could adjust this in one of the next updates.
 * I will deactivate the debug mode for my further setup 🙂

Viewing 1 replies (of 1 total)

 *  Plugin Author [add-ons.org](https://wordpress.org/support/users/rednumber/)
 * (@rednumber)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/error-in-debug-mode-prevent-use/#post-17562013)
 * Thank you so much
 * We fixed and updated update it in the latest version!

Viewing 1 replies (of 1 total)

The topic ‘Error in debug mode prevent use’ is closed to new replies.

 * ![](https://ps.w.org/repeater-field-for-wpforms/assets/icon-256x256.gif?rev=3181503)
 * [Repeater Fields for WPForms](https://wordpress.org/plugins/repeater-field-for-wpforms/)
 * [Support Threads](https://wordpress.org/support/plugin/repeater-field-for-wpforms/)
 * [Active Topics](https://wordpress.org/support/plugin/repeater-field-for-wpforms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/repeater-field-for-wpforms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/repeater-field-for-wpforms/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [add-ons.org](https://wordpress.org/support/users/rednumber/)
 * Last activity: [2 years, 2 months ago](https://wordpress.org/support/topic/error-in-debug-mode-prevent-use/#post-17562013)
 * Status: resolved