outl1ne / nova-settings

A Laravel Nova tool for editing custom settings using native Nova fields.
MIT License
271 stars 98 forks source link

Am I the only one with 404? #133

Closed HeadStudios closed 1 year ago

HeadStudios commented 1 year ago

Just followed instructions Settings link is showing but when I click I get 404 error... no stack trace in laravel.log... did I miss something? Any input much appreciated. Thanks!

https://share.getcloudapp.com/eDuXNNo4

I'll log out and in to see if that fixes anything.

HeadStudios commented 1 year ago

Nvm I didn't have use Laravel\Nova\Fields\Text; use Laravel\Nova\Fields\Number;

inside NovaServiceProvider.php.. all good now!

Tiththa commented 10 months ago

If anyone encounters this even with fields imported, please clear the cache and everything should be fine

sonaterai commented 9 months ago

I got the same problem , but only on production.. all cache clear / route etc... any idea ?

HeadStudios commented 9 months ago

I got the same problem , but only on production.. all cache clear / route etc... any idea ?

Yep I think the environment or some other variable affects how nova settings is displayed - try changing the .env variable on live and see if that fixes it. I had to go into vendor folder to make the necessary adjustment - if you still have issues just search within that folder for any references to env(). Good luck!