F
Filament13mo ago
Chriis

Request for a tenant menu item URL is throwing an error

Hi, I have tenant menu item that get the URL from a Setting table in my DB. It works fine, however since I implemented this menu item I have an error everytime I deploy my app. When I do composer install its throwing an error because the request could not get a result from the DB. So I migrate my DB, but I also have this error telling me to migrate ... I don't know what I can do except deleting this request.
1 Reply
DrByte
DrByte13mo ago
I don't understand why a deploy or migrate would be causing a problem that didn't exist before deploy or migrate. Maybe something was previously cached? Perhaps it's an order-of-operations thing? Maybe you can avoid it by simply allowing it to handle a null response? Is it specific to certain "new" tenants? Is the Request happening in the "wrong place"? like maybe it should fire "later"?

Did you find this page helpful?