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 6574471
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T15:15:58+00:00 2026-05-25T15:15:58+00:00

Can someone shed some light for me on what this error means and how

  • 0

Can someone shed some light for me on what this error means and how to go about debugging it. Firefox is not an option but I am using chrome. There are no errors on localhost, only when I uploaded to server. All versions are the same and all updates are the same. Tearing my hair out trying to know where to start. Many thanks

+++UPDATE+++
I have managed to some basic debugging in chrome and this seems to be causing the error,

Uncaught TypeError: Cannot read property 'status' of null
$.ajax.successfunctions.js:83
jQuery.extend._Deferred.deferred.resolveWithjquery-1.6.2.js:1008
donejquery-1.6.2.js:7168
jQuery.ajaxTransport.send.callback

ajax code

$(function() {

 $("#newint").submit(function() {

   var send = $(this).serialize();

    $.ajax({
      type: "POST",
      url: "newintake.php",
      cache: false,
      data: send,
      dataType: "json",
      success: function(msg) {
       if( msg.status === 'error') {
          $("#NI-result").fadeIn(1000).delay(2000).fadeOut(1000);
          $("#NI-result").removeClass('error');
          $("#NI-result").removeClass('success');
          $("#NI-result").addClass(msg.status);
          $("#NI-result").html(msg.message);
       }

       else {
          $("#NI-result").fadeIn(2000).delay(3000).fadeOut(2000);
          $("#NI-result").removeClass('error');
          $("#NI-result").addClass('success');
          $("#NI-result").addClass(msg.status);
          $("#NI-result").html(msg.message+msg.info);
          //location.reload(true);
          //$('#brtv-result').addClass("result_msg").html("You have successfully retrieved: "+data.boxnumber).show(1000).delay(4000).fadeOut(4000);
          $("#NI_slider").val(0).slider("refresh");
          $("input[type='radio']").attr("checked",false).checkboxradio("refresh");
          var myselect = $("select#NI_department");
          myselect[0].selectedIndex = 0;
          myselect.selectmenu("refresh");
          var myselect = $("select#NI_address");
          myselect[0].selectedIndex = 0;
          myselect.selectmenu("refresh");
          $("#NI_dd").val('').trigger("dorefresh");
       }

     },
      error:function(){
         $("#NI-result").show();
         $("#NI-result").removeClass('success');
         $("#NI-result").addClass('error');
         $("#NI-result").html("There was an error submitting the form. Please try again. If this continues to happen,<br />please inform the administrator of the site quoting ref#: 0001F");
     }
   });
   return false;
  });
});
  • 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-05-25T15:15:58+00:00Added an answer on May 25, 2026 at 3:15 pm

    The error you’re receiving means that the argument passed to the success callback of $.ajax, msg, is null. Therefore, when you try to access its status property, you get an error (because a null value cannot have any properties). If you put console.log(msg) in the first line of your callback this should get confirmed; you’ll just see null printed out in the console.

    All of this suggests that the real problem has to do with the ajax response, rather than your Javascript handling of that response. And this goes along with what you said about how it works fine when running from your local computer. You’re experiencing some kind of server error*, and that’s precisely the thing that is changing when you run it on your local computer vs. your internet server.

    *”server error” in this case does not mean that your server is making a mistake, but rather that the problem lies on the server-side rather than client (browser-JavaScript) side.

    So inspect the response headers from the ajax call, as well as the server-side code that runs when the call is made. If you still can’t find the issue, update your question with the response headers & server-side code.

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

Sidebar

Related Questions

Hoping someone can shed some light on this: Do lookup tables need their own
I'm hoping someone can shed some light on this for me: What are the
I am hoping someone can shed some light on this issue for me... I
Can someone please shed some light on how I would get this to work:
I wonder if someone can help shed some light on this: I drop a
Hope someone can shed some light on this... I, and many other developers in
Hopefully someone can shed some light onto this issue for me. I have a
I was hoping someone can shed some light on this for me. I do
Hoping someone can shed some light on this issue we are having because I'm
Can someone shed some light on the semantics for accessing an enum defined in

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.