Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

jquery errors


Reply

2 Posts   939 Views

Avatar
oldwrinkly

26 April 2010 at 10:58am Community Member, 34 Posts

I have just got the jquery cycle 1.3.2 plugin working fine, rotating the homepage banner, but I have 40errors (all the same) in firebug

Does anyone know what it all means?

[Exception... "'JavaScript component does not have a method named: "onBeforeItemRemoved"' when calling method: [nsINavBookmarkObserver::onBeforeItemRemoved]" nsresult: "0x80570030 (NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED)" location: "JS frame :: file:///C:/Program%20Files%20(x86)/Mozilla%20Firefox/components/nsLivemarkService.js :: LS_deleteLivemarkChildren :: line 582" data: no]
[Break on this error] this._bms.removeFolderChildren(aFolderId);

Regards
Mike

Avatar
swaiba

28 April 2010 at 7:49pm Forum Moderator, 1796 Posts

Are you including a different version of jQuery than that in the third party folder(s)?

I had similar type messages when I was including multiple versions of jQuery on the same page - if you need to block a later version you can place Requirements::block(file) in your init function. Hope this helps.

Barry