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

osama_abdullah's avatar

HasMany relationship causes redirect to "/" in detail page of resource

hasMany relationship in nova resource detail page displays a hole table when some resource has may "HasMany" Field it, it causes redirect to home "/" and it says: "access denied for user forge@localhost..." and i checked out my config/database.php file i found out that the default user there is forge, but it must take the Credentials from .env file as usual, this issue doesn't occure every time i visit detail page only some times, i checked all related methods on each model that returns relation ship but sill having this issue

full detail and screenshots are available in github link below

https://github.com/laravel/nova-issues/issues/2500

0 likes
0 replies

Please or to participate in this conversation.