Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Medala's avatar
Level 12

Laravel Excel works only in development

Laravel Excel import works on dev env, but fails on production - 500|server error. Did I miss config in Forge?

0 likes
2 replies
crnkovic's avatar
crnkovic
Best Answer
Level 43

Yes, probably.

What does your log say? Which exception caused 500?

Medala's avatar
Level 12

Thanks for the reply, I had to step away. I got the problem because I changed the migration after I deployed to production. It is working now.

Please or to participate in this conversation.