Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hey guys, firebug told me, an error:
$(form).after(data.form).next().attr("action", action).uc_aac_attach().uc_ucoi_attach is not a function
I saw the code:
if (data.form) {
var action = form.attr('action');
if (UCOI) {
---> $(form).after(data.form).next().attr('action', action).uc_aac_attach().uc_ucoi_attach();
} else {
$(form).after(data.form).next().attr('action', action).uc_aac_attach();
}
form.remove();
}
What to do now? – It's critical bug because I've two "add to cart" forms on the node. An when I'm selecting a option, I got another "add to cart" form.
Please help.
Yannick
Comments
Comment #1
yannickooThe problem might be the uc option image module cause on nodes without option images, I don't got that error.
Comment #2
broncomania CreditAttribution: broncomania commentedsubscribe same error here
Comment #3
stewart.adam CreditAttribution: stewart.adam commentedIt looks like you are using the patched version of uc_aac/uc_option_image that was posted to the issue queue a while ago. Have you tried using the latest dev release and the patches listed in issue #712542: Compatibility with Ubercart Ajax Attribute Calculations module for AAC compatibility?