Hello
I am currently learning the laravel and filament
I created a demo dashboard and every time i tried to create a new record of any model/table through the dashboard the redirection of the edit page just falls after minutes it redirects also after that long redirection time the whole app starts crashing in every route within filament dashboard
tried and tired of AI responce it is solving the issue 🙂


24 Replies
have you got that running in proper debug mode?
Start DD'ing throughout the steps, see where it hangs
Start by enabling the debug mode to get better error messages:
APP_DEBUG=true
in your .env
filehey @Dennis Koch It was true at first but then I disabled it and even doing that is not helping also how can I get rid of this screen error it wont go of without server restarting or new tab opening .
what can be cause of it I can't find it out

So it looks like your first request is fine. That's why you can see the dashboard. Then some background request takes forever and leads to that error dialog.
Can you open the DevTools, go to network tab and reload the page? Then look for that long running request that fails and check the URL and/or payload
@Dennis Koch as I can se the /admin/ceos/6 is generating the problem but do you think that after one api call fail the whole application can start malfunctioning as i shared first screen shorts ?
also I tried in different browser but same situation
can I share code with you so you can be more clear ?


What is that page doing?
If the whole apps fails after that, it sounds like a long running/stuck DB query. You can check via
mysql
CLI by running SHOW FULL PROCESSLIST
Also: I don't know your setup, but if it only allows 1 PHP connection at a time, that means a long running requests can block the next ones.@Dennis Koch but how can i find out about it ??
and also I remember in morning whenever I am trying to access the routes it said memory full or something like that so i changes the php.ini file and increased the memory limit up to 2 gb ....
@Dennis Koch see even the first load is taking more then 2 mins

Post your
create
file, and can have a look.Share the
AccountResource
and maybe the Account
modelthese are the resource fils I am using
@Dennis Koch @Matthew Or I personally suggest you to just create new laravel project and
Add filament
Add a resource
and try it if it is behaving the same
because i didn't do anything else then this and still having the problem
Can you make sure you are using the latest filament version? I have seen similar reports but with memory limits.
@Dennis Koch Yes I am using letest stable version "v3.3.0"
also I was having the same issue of memory limits but i exceeded the memory limit by 1 gb I though it was a minor issue
3.3.0 isn't latest version
@krekas I know but it is letest stable version so that's why I am using it ....
Latest stable release is v3.3.31. Previous releases have a memory issue because of a Laravel update
That's probably your composer constraint, not the actual version
@Jyrki Thank you for your guidance Got frustrated whith that
and also thank you every one who tried to help @Dennis Koch @Matthew @krekas
What's the output of
artisan about --only=filament
This is what i got but it got solved when i changes the version to 3.3.31

Okay, you are on the latest version then.
That's all just standard stuff, so I don't see any issues here.
Your whole app looks a bit broken though. What local dev environment are you using? I'd suggesting trying Herd for Windows and see whether those problems persist.
@Dennis Koch It got solved the version was creating the issue
Oh didn’t read the second part.