Level 80
@msslgomez Check your error log: storage/logs/laravel.log
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I'm using Inertia.js to do the request, it works perfect locally but when tried on the server it returns a 500 error
GET http://url.com/result/filter?period=&major=&course=&school= 500 (Internal Server Error)
This is the code
getFiltered() {
this.$inertia.replace('/result/filter', {
method: 'get',
data: {
period: this.filters.period_id,
major: this.filters.major_id,
course: this.filters.course_id,
school: this.filters.school
}
})
.then(() => {
if (this.$page.auth.user.flash.success) {
this.survey_question = this.$page.auth.user.flash.success[0];
},
}
It doesn't give me any clues apart from a 500 error, how can I fix it or figure out why I'm getting this error?
Please or to participate in this conversation.