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<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
$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 ??
- The topic ‘Error in debug mode prevent use’ is closed to new replies.