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

pbattino created an issue. See original summary.

pbattino’s picture

Status: Active » Closed (cannot reproduce)

Cannot reproduce. I assume this was caused by another module interfering with JS.

martin74’s picture

I 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

rkdesantos’s picture

I 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.

rkdesantos’s picture

The 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).

loze’s picture

I 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.

rkdesantos’s picture

david.mcmeans’s picture

Just 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.