Closed (fixed)
Project:
Twitter Profile Widget
Version:
7.x-1.1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
28 Apr 2011 at 02:55 UTC
Updated:
22 Apr 2017 at 15:25 UTC
Jump to comment: Most recent
Enabling this module breaks the function to upload multiple pictures. For example, if you allow a node to have unlimited number of files to be uploaded, when you click on upload, the following error will occur.
An error occured while attempting to process /file/ajax/.../und/form-asdsadasdfasdfsdf:
Cannot call method 'call' of undefined
I verified this by turning off the module and then the upload would work again.
Comments
Comment #1
spleshkaI'm using here only one javascript file, maked by twitter developers. I don't think that promlems in it. Most likely, a problem in other module. What module conflicts with twitter profile widget?
Comment #2
ahm_hefni commentedI have the same problem
twitter widget make me the same error
filter with ajax isn't working until remove this widget
Comment #3
StanislavD commentedThe problem is in included JS file: http://widgets.twimg.com/j/2/widget.js
drupal_add_js('http://widgets.twimg.com/j/2/widget.js', 'external');
replaced with:
drupal_add_js(drupal_get_path('module', 'twitter_profile_widget') . '/widget.js');
Comment #4
ywarnier commentedThe fix seemed fine so I suggested to Twitter they apply it upstream: https://dev.twitter.com/discussions/5705
Comment #5
mark_fullmer