F
Filament7d ago
Exi

500 error on FilamentPHP panel after installing Laravel Octane

After installing Laravel Octane, I randomly get a 500 Internal Server Error when interacting with the Filament admin panel (e.g. clicking on search, select, etc.). Is there a specific configuration needed to make FilamentPHP fully compatible with Octane, or could this be a bug?
6 Replies
Matthew
Matthew7d ago
Check the laravel.log I assume this happens on production?
Exi
ExiOP7d ago
It's not on production yet — I'm getting this error in my local development environment. I'm using Laravel Sail with Octane. Also, nothing is being logged in laravel.log. On the frontend, I see this error in the browser console:
POST http://localhost/livewire/update 500 (Internal Server Error)
POST http://localhost/livewire/update 500 (Internal Server Error)
Matthew
Matthew7d ago
That tells me there is something wrong with your .env file Are you sure it exists? Are the database credentials correct?
Exi
ExiOP7d ago
While debugging, I temporarily removed ->databaseNotificationsPolling, and the 500 errors stopped appearing randomly on the panel. However, when I rapidly switch between select inputs inside a resource (e.g. using the Tab key), I still get a 500 error. This didn’t happen before using Octane, so it might be related to rate limiting or Octane-specific behavior. Is there any known workaround for this?
Mark Chaney
Mark Chaney7d ago
I wouldn’t recommend octane with it. I’m sure other people have success with it, but I don’t think it’s worth the trouble and isn’t meant for that this type of application imho
Dennis Koch
Dennis Koch7d ago
First: Figure out whether it's a server error or Laravel error (check the look of the exception page in the DevTools). If it's a Laravel error you should find something in the Laravel log.

Did you find this page helpful?