Typed property Filament\Support\Assets\Asset::$package must not be accessed before initialization
I uploaded a Laravel-Filament application in AWS with the Forge service, but when accessing my application it returned that error, I have not been able to solve it. Some help?
![No description](https://cdn.answeroverflow.com/1260259623194067117/image.png)
Solution:Jump to solution
resolved! It was what you mentioned, a theme plugin, I uninstalled it and added my own theme, thank you very much
8 Replies
Hard to tell just from that error message
I know, but I haven't done anything more than install the application and when accessing /admin/login it returns that. Everything works fine locally 🧐
- Try running
php artisan filament:upgrade
to clear all caches
- Try removing vendor/
and reinstalling.
Expand the stack trace to see whether there are other relevant stacks that provide more info![No description](https://cdn.answeroverflow.com/1260273081784602794/image.png)
try that several times
Are you using
Asset\Css
anywhere? Or a plugin you are using?Solution
resolved! It was what you mentioned, a theme plugin, I uninstalled it and added my own theme, thank you very much
Glad you figured it out