Support the ongoing development of Laravel.io →
Database Eloquent Testing

In my controller I'm trying to delete a record from a table and the only message I get back to the client is 500 internal server error.

What are some tips/tricks/methods for troubleshooting these kinds of things?

I'm doing an ajax post if that makes a difference.

Thanks.

Last updated 3 years ago.
0

You may want to enable debug from app.php if you havent already and take a look at the latest log file within app/storage/logs. The log description are usually right on point.

Last updated 3 years ago.
0

The log is awesome!

Thanks.

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

neon5 neon5 Joined 21 Feb 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.