Posted by trotsak on December 14, 2011 at 3:50am
On my site, I upgrade drupal core from 7.9 to 7.10. version, after that I got some problems with javascript function of site - dont work butch, can't install module, cant cancel user, FCKEditor disappeared.
Is this a common issue with the upgrade? Is there a simple solution?
Console show:
Opera/9.80 (Windows NT 5.1; U; ru) Presto/2.10.229 Version/11.60 (Core 2.10.229)
Используйте команду clear() для очистки консоли.
Для получения дополнительных сведений введите «// help()».
Uncaught exception: TypeError: Cannot convert 'settings' to object
Error thrown at line 106, column 4 in <anonymous function: attach>() in http://pen4pals.com/sites/default/files/js/js_xfF8V7rBW2yHfgZN45GZ8TTfJo...
for (i in settings.animation.effects)
called from line 304, column 6 in <anonymous function: Drupal.attachBehaviors>() in http://pen4pals.com/sites/default/files/js/js_8_YX9lYSyCcsPZtcj5SaCKQ9yo...
this.attach(context, settings);
called via Function.prototype.call() from line 33, column 864 in <anonymous function: each>(j, s, v) in http://pen4pals.com/sites/default/files/js/js_8_YX9lYSyCcsPZtcj5SaCKQ9yo...
if(s.call(j[z],
called from line 302, column 2 in <anonymous function: Drupal.attachBehaviors>(context, settings) in http://pen4pals.com/sites/default/files/js/js_8_YX9lYSyCcsPZtcj5SaCKQ9yo...
$.each(Drupal.behaviors, function () {
called from line 640, column 2 in <anonymous function>() in http://pen4pals.com/sites/default/files/js/js_8_YX9lYSyCcsPZtcj5SaCKQ9yo...
Drupal.attachBehaviors(document, Drupal.settings);
called via Function.prototype.call() from line 30, column 165 in <anonymous function: ready>(j) in http://pen4pals.com/sites/default/files/js/js_8_YX9lYSyCcsPZtcj5SaCKQ9yo...
j.call(t,b);
called from line 38, column 7 in <anonymous function: u>() in http://pen4pals.com/sites/default/files/js/js_8_YX9lYSyCcsPZtcj5SaCKQ9yo...
b.ready()
Uncaught exception: TypeError: Cannot convert 'm.parentNode' to object
Error thrown at line 62, column 2161 in <anonymous function>() in http://static.ak.fbcdn.net/rsrc.php/v1/yH/r/ctE39BoKGb3.js:
m.parentNode.removeChild(m);
Comments
fixed
Hallelya! I unable DHTML menu module and all are OK.
Thank you all for helping.
I used firefox extension Drupal For Firebug (web-console component).