'length' is null or not an object with Jquery Library v1.4.4

'length' is null or not an object with Jquery Library v1.4.4

Hi Team,
 

I am facing this issue while page loading. I am using jquery.library.js v1.4.4 and error is coming in below line of code

each:

function( object, callback, args ) {

var name, i = 0,

length = object.length,

isObj = length === undefined || jQuery.isFunction(object);

if ( args ) {

if ( isObj ) {

for ( name in object ) {

if ( callback.apply( object[ name ], args ) === false ) {

break;

}

}

}

else {

for ( ; i < length; ) {

if ( callback.apply( object[ i++ ], args ) === false ) {

break;

}

}

}

// A special, fast, case for the most common use of each

}

else {

if ( isObj ) {

for ( name in object ) {

if ( callback.call( object[ name ], name, object[ name ] ) === false ) {

break;

}

}

}

else {

for ( var value = object[0];

i < length && callback.call( value, i, value ) !==

false; value = object[++i] ) {}

}

}

return object;

}
 
 
Please help me.. how can i fix this issue