Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
After upgrading to 7.x-3.0-alpha5 (from alpha3) I get this on every form where there's a file field to upload a file:
An error occurred while attempting to process /file/ajax/submitted/attachment/form-Rv0F35CGa30G3TqxIaoOyLerVksEUhkZ4Uk3AnLl68I: ajax.form.ajaxSubmit is not a function
If I downgrade back to aplha3 the problem disappear.
Jquery is set to run on v1.8, I tried to change the version but the problem does not disappear unless I select "v1.4 (Drupal core)" that is now too old for me.
(I'm using Webform 7.x-4.14 , not sure is relevant)
Comments
Comment #2
pbattino CreditAttribution: pbattino commentedCannot reproduce. I assume this was caused by another module interfering with JS.
Comment #3
martin74 CreditAttribution: martin74 commentedI have the same issue
as soon as i hit the upload button ( in any type op widget )
An error occurred while attempting to process /file/ajax/field_bijlage/und/form-Zn7EETj9DgdoBwSIcXKNvoYzsMBPDdF50RTYZmIChao: ajax.form.ajaxSubmit is not a function
Drupal version 7.55
is not in all my sites
Comment #4
rkdesantos CreditAttribution: rkdesantos as a volunteer commentedI just saw the same error on a site with jQuery 2.1, Drupal 7.59, using Mailchimp module. Running 7.x-3.0-alpha5. jQuery Migrate is enabled.
Pretty sure it is somehow related to jQuery form. I haven't had the chance yet to test different versions/combinations of jQuery/jQuery ui/etc.
Comment #5
rkdesantos CreditAttribution: rkdesantos as a volunteer commentedThe log also has this warning:
Warning: file_get_contents(sites/all/modules/jquery_update/replace/jquery.form/4/jquery.form.min.js): failed to open stream: No such file or directory in drupal_build_js_cache() (line 5102 of /xxx/xxx/public_html/includes/common.inc).
Comment #6
loze CreditAttribution: loze commentedI get the same error when trying to submit an ajax form while trying to use 7.x-4.x-dev regardless of the jquery version and jqMigrate settings
reverting back to 7.x-2.7 made the error go away.
Comment #7
rkdesantos CreditAttribution: rkdesantos as a volunteer commented@loze: try the solution at https://www.drupal.org/project/jquery_update/issues/3260020
Comment #8
david.mcmeans CreditAttribution: david.mcmeans commentedJust got this same error after upgrade to 9.4.2 using Claro for admin theme. Switched back to Seven and can now edit the Manage form display page.