Gravity Forms Multi File Upload Issue

I am experiencing an issue related to multi-file uploads, and I believe it’s related to a conflict with some .js files. The problem is that single file uploads work, but when I switch to multi-file upload, the select file button stops working. Nothing happens when I click on the button; the dialog doesn’t show up. However, if I switch my theme to the default one, it works.

So, I compared both page sources. Here’s what I found: the default theme loads the gform.initializeOnLoaded function three times, while my current theme does not load it at all. The default theme loads:

  1. gform.initializeOnLoaded(function () { gformInitSpinner(....
  2. jQuery(document).on('gform_post_render',...,
  3. `jQuery(document).trigger(“gform_pre_post_render”,…),
    which my current theme does not. So, I think this may be an issue. Can anyone help me with this matter?