I am not 100% sure that uc_acc is causing this error, but there is a uc_aac reference so I was hoping you could confirm this bug or point me in the right direction. Below is the firebug error output:
el has no properties
formToArray(undefined)jquery.form.js (line 490)
ajaxSubmit(Object url=http://www.oregonaero.com/uc_aac type=post)jquery.form.js (line 189)
perform_ajax_calculation_2()edit (line 186)
load_function_2()edit (line 194)
e()jquery.js (line 2)
[Break on this error] var n = el.name;
Thanks for any help.
Cheers,
Jon Antoine
Comments
Comment #1
jantoine commentedWhoops,
Forgot to give some basic info about the bug, sorry.
I am getting this error when I got to edit an existing product. It does not happen when I create a new product. If you need any more info, please let me know.
Cheers,
Jon Antoine
Comment #2
cyu commentedI've not seen anything like this before Jon. Have you tried disabling uc_aac and seeing if you still get an error? Also, this module should not even be doing anything on the product edit screen, the ajax code in question should only happen when viewing a product.
What version of Ubercart are you running? And do you possibly have multiple versions of jquery.form.js being loaded?
-Chris
Comment #3
jantoine commentedHey Chris,
Thanks for the timely response. When I disable uc_aac, the error goes away. When I enable it again, the error returns. I am running the dev version of Ubercart. jquery.form.js is only found once in the following line when viewing the html code:
Here is a list of additional modules that were installed.
CCK
- CCK Fieldgroup Tabs
- Content
- Fieldgroup
- Image
- Text
Core - Optional
- Contact
- Path
- Search
Development
- Tables API
Image
- Imagecache
Javascript tools
- Javascript tools
- Tabs
Other
- FCKeditor
- Google Analytics
- Meta tags
- Nice Menus
- Theme Settings API
- Thickbox
- Token
- uBrowser
- Update Status
Ubercart - Core
- Cart
- Order
- Product
- Store
Ubercart - Core (optional)
- Attribute
- Catalog
- Notify
- Payment
- Reports
- Shipping Quotes
Ubercart - extra
- Ajax Attribute Calculations
- Google Analytics for Ubercart
- Product Kit
Ubercart - fulfillment
- FedEx
Ubercart Payment
- Credit Card
- PayFlow Pro
Views
- Views
- Views RSS
- Views Theme Wizard
- Views UI
Workflow-ng
- Workflow-ng
- Workflow-ng UI
XML Sitemap
- XML Sitemap
- XML Sitemap Engines
- XML Sitemap Node
- XML Sitemap Term
I am currently working through these different modules to see if it is a conflict with another module. Any input/advice is appreciated. Thanks again for you time.
Cheers,
Jon
Comment #4
cyu commentedJon,
This error is occurring because your product edit screen for $nid is calling hook_form_alter() for uc_product_add_to_cart_form_$nid, so ajax code for that form is being loaded but that form is not actually loading and has no reason to. Can you try with a fresh install and see if you are able to duplicate this problem?
Comment #5
cyu commentedWith info provided by Jon about the potential culprit, I opened an issue on the metatags module for this...
http://drupal.org/node/266693