Same here. Just tested the plugin but it throws a couple of JS errors in the console when loading the page “Cannot set property of ‘undefined'” for various variables.
When clicking the “select file” button and choosing a file the textfield that should show the file name remains empty and the upload button remains disabled.
EDIT: it happens, when the shortcode is inserted in Elementor. See https://nord-liebe.de/upload
The upper shortcode was added in Gutenberg, and then the page was edited with Elementor where I added the same shortcode in an Elementor text element. The second upload widget doesn’t work.
-
This reply was modified 4 years, 8 months ago by
superninchen. Reason: Added addtitional info
Hi, first of all, since you have two upload instances on the page, they need to have different upload ID. You can change this from the visual editor of each upload form (or just put uploadid="2" in the second shortcode).
In order to correct the Javascript error, put the following code in functions.php file of your theme, or preferably install Code Snippets plugin and put it in a new snippet:
if (!function_exists('wfu_after_upload_handler1')) {
function wfu_file_upload_output_handler1($cont) {
$ch = '&'.'#'.'038;';
$cont = str_replace($ch.$ch, '&&', $cont);
return $cont;
}
add_filter('the_content', 'wfu_file_upload_output_handler1', 100);
}
Regards
Nickolas