Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7791531
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T21:54:55+00:00 2026-06-01T21:54:55+00:00

Our company site has a JavaScript problem that I’m desperately trying to solve, but

  • 0

Our company site has a JavaScript problem that I’m desperately trying to solve, but really struggling with. My JS skills are good enough to build a site with things like jQuery, but I am not that proficient in debugging – so really appreciate any help.

Seemingly randomly, all JS components (e.g. a jQuery Datepicker) on the page stop working. When force-reloading the page with the error console open, these errors happen about 60% of the time – there doesn’t seem to be any pattern to it. The only way to fix the site once this happens is by clearing the cache and reloading.

The Console outputs the following:

Uncaught TypeError: Object #<Object> has no method 'each'
Uncaught TypeError: Object #<Object> has no method 'not'
Uncaught TypeError: Object #<Object> has no method 'each'

However: that’s just one example. Other times I will get completely different errors. E.g. a few minutes after submitting this question, I tried again, and got this:

Uncaught TypeError: Cannot call method 'apply' of undefined

Which again was thrown from jquery.min.js – pretty-printed, line 1453 (third line down):

 if (g.call(k) === "[object Array]")
     if (!u)
         e.push.apply(e, k);

I set Chrome to break on all unhandled exceptions, and this was another exception it caught – on line 3 of the minified jQuery library. Shown below is the pretty-printed version:

try {
    b.call(c.documentElement, "[test!='']:sizzle")
    } catch (f) {
        e = !0
    }

The actual erroring line begins b.call[...]. This works out to line 1904 of jquery.min.js.

  • I am using the latest jQuery
  • This only started happening recently – after changing nothing!
  • The errors happen seemingly randomly
  • Usually (but sometimes), no errors are thrown from my scripts – e.g. script.js – usually they are thrown from a minified library. It varies each time.
  • This seems to happen in all browsers, but more often in Chrome than Firefox

Any ideas where to begin? Unfortunately this is an internal corporate website so providing access is tricky, as we deal with sensitive data throughout the site.

Thank you for your help!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T21:54:57+00:00Added an answer on June 1, 2026 at 9:54 pm

    Seems to me that your page is quite big and the browser tries to execute the js code before the DOM loads completely… probably because you’re using in-line javascript code..

    That could explain the random errors and the fact that you have errors when you force the reload.

    I’d suggest you to put your JS code inside a dom ready event so the js code could be executed without problems..

    Hope this helps 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

There are 3 authors in our company blog, each author has own site url
I'm not a programmer, but I did manage to develop our company site in
Our company is trying to transition to WordPress Multisite but we have several issues
I have a reoccurring DNS problem that has been plaguing our users, occasionally causing
Our company currently has a web site which is deployed in Windows 2000 OS,
I have a web-site that has a hosting at some popular hosting company. The
My company has partners that embed a few of our web pages into their
Our company has a product which relies on local database to work (it allows
Our company now has over 40 tutorial videos and I'm looking for a video
I'm about ready to launch our company's web site on Amazon's EC2, and have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.