Creating new resource button stopped working on all resources

All of a sudden, all "New resource" buttons stopped working. There is also error in console on page load: 3.chunk.js:1 Error: An error occured while selecting the store state: Cannot read properties of undefined (reading 'language'). at K (3.chunk.js:1:16082) at l (tabPrompt.chunk.js:1:2434) at Qi (3.chunk.js:1:278519) at yu (3.chunk.js:1:324925) at sc (3.chunk.js:1:317458) at uc (3.chunk.js:1:317383) at Zu (3.chunk.js:1:314392) at Qu (3.chunk.js:1:311153) at Dc (3.chunk.js:1:332662) at 3.chunk.js:1:333907 I was just creating new resources did not change anything else. What could be wrong?
6 Replies
Filament
Filament3y ago
Please run php artisan filament:upgrade, recompile any frontend assets you may have, clear your browser cache, and delete the /resources/views/vendor directory if it exists. If the problem still persists, please reply to this message and let us know.
toeknee
toeknee3y ago
Is this in all resources? Can you confirm your filament version?
deveti
devetiOP3y ago
Sorry for late reply, I was away. Will try now and confirm. Yes it stopped working for all resources. But only create action button.
toeknee
toeknee3y ago
Ok, can you recreate in a new project? I had a feeling it a problem with your specific setup
deveti
devetiOP3y ago
So after PC restart everything works now. I guess something with cache or something? Because this only happened on my local env. When I deploy to stagging env, all works.
Dan Harrin
Dan Harrin3y ago
definitely caching then

Did you find this page helpful?