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

spleshka’s picture

Assigned: Unassigned » spleshka
Status: Active » Needs review

I'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?

ahm_hefni’s picture

I have the same problem
twitter widget make me the same error
filter with ajax isn't working until remove this widget

StanislavD’s picture

The problem is in included JS file: http://widgets.twimg.com/j/2/widget.js

  1. Download JS file http://widgets.twimg.com/j/2/widget.js
  2. Open it and use Find command in notepad and look for the Array.forEach and then change it to Array.prototype.forEach
  3. Save this file again locally and put it in the module folder
  4. twitter_profile_widget.module line 69:
    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');
ywarnier’s picture

The fix seemed fine so I suggested to Twitter they apply it upstream: https://dev.twitter.com/discussions/5705

mark_fullmer’s picture

Assigned: spleshka » mark_fullmer
Issue summary: View changes
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.