Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

103
Views
Ajax post request in laravel 5 return error 500. No logs

Im getting internal server error 500. unfortunately there is no logs to see what causes it.

here is my ajax calling it :

 createRide(event) {
    console.log(event);
    event.preventDefault();
    event.stopPropagation();
    console.log('Hello', $("#form-create-ride").serialize());
    $.ajax({
        url: '/admin/dispatcher',
        dataType: 'json',
        headers: {'X-CSRF-TOKEN': window.Laravel.csrfToken },
        type: 'POST',
        data: $("#form-create-ride").serialize(),
        success: function(data) {
            console.log('Accept', data);
            this.props.completed(data);
        }.bind(this)
    });
}

this is from : dispatcher-admin.js:455 (see error in console below).

here is the error :

jquery-1.12.3.min.js:4 POST http://example.com/admin/dispatcher 500 (Internal Server Error)
send @ jquery-1.12.3.min.js:4
ajax @ jquery-1.12.3.min.js:4
createRide @ dispatcher-admin.js:455
ReactErrorUtils.invokeGuardedCallback @ react-dom.js:9073
executeDispatch @ react-dom.js:3031
executeDispatchesInOrder @ react-dom.js:3054
executeDispatchesAndRelease @ react-dom.js:2456
executeDispatchesAndReleaseTopLevel @ react-dom.js:2467
forEachAccumulated @ react-dom.js:15509
processEventQueue @ react-dom.js:2670
runEventQueueInBatch @ react-dom.js:9097
handleTopLevel @ react-dom.js:9108
handleTopLevelImpl @ react-dom.js:9185
perform @ react-dom.js:14810
batchedUpdates @ react-dom.js:8862
batchedUpdates @ react-dom.js:12938
dispatchEvent @ react-dom.js:9260
15:02:10.204 
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!