Just before our next deployment to our production server we are trying to be on top of errors and we have found another SocialConnect error in our back-end. It mention that a plugin and I have checked our plugins but can not see that any of them should create this problem.Please see below;
TypeError: $(...).addEvent is not a function
...$('socialConnectCountersLoggedInUsersButton').addEvent('click', function(event)
window.addEvent('domready', function() {
$('socialConnectCountersLoggedInUsersButton').addEvent('click', function(event) {
event.preventDefault();
$('socialConnectCounters').toggleClass('socialConnectModal');
});
});
var cachecleaner_base = '/administrator';
var cachecleaner_root = '
www.develop3.gogreen-portal.com/
';
var cachecleaner_msg_clean = 'Cleaning cache';
var cachecleaner_msg_purge = 'Purging expired cache';
var cachecleaner_msg_inactive = 'The Cache Cleaner system plugin is not enabled! Enable?';
var cachecleaner_msg_success = 'Cache cleaned';
var cachecleaner_msg_failure = 'Cache could not be cleaned';
Here is the reply:
Hello Finn,
Your backend is loading two versions of jQuery 1.9.0 and 1.7.2.
This is causing the issue. You can use an extension like jQuery Easy if you cannot find which extension is loading the 1.9 version.
This way only one version will be loaded.
We are allready using JQuery Easy and it was last week updated to a version 1.5.5.