F
Filamentβ€’15mo ago
Anton

Why actions on the production server doesn't work?

Hello. When I press the "Delete" button (for example), it makes an UPDATE request to "/livewire/update" and the server returns the right response (same as on the local). Before (yesterday) I saw this message in the browser dev console: "Uncaught Snapshot missing on Livewire component with id: XXXXXXXXXXXXX". But today, I already do not see it. What I am already trying: composer install --no-dev --no-interaction --prefer-dist --optimize-autoloader Reinstall vendors. npm install artisan cache:clear artisan view:clear artisan optimize:clear + artisan optimize Maybe Livewire requires some extra PHP extension? My composer.json "requires":
"require": {
"php": "^8.1",
"filament/filament": "^3.0-stable",
"guzzlehttp/guzzle": "^7.2",
"laravel/framework": "^10.10",
"laravel/sanctum": "^3.2",
"laravel/tinker": "^2.8",
"spatie/laravel-model-states": "^2.4",
"spatie/laravel-permission": "^5.11"
},
"require-dev": {
"barryvdh/laravel-debugbar": "^3.9",
"fakerphp/faker": "^1.9.1",
"laravel/breeze": "^1.23",
"laravel/pint": "^1.13",
"laravel/sail": "^1.18",
"mockery/mockery": "^1.4.4",
"nunomaduro/collision": "^7.0",
"pestphp/pest": "^2.18",
"pestphp/pest-plugin-laravel": "^2.0",
"spatie/laravel-ignition": "^2.0"
},
"require": {
"php": "^8.1",
"filament/filament": "^3.0-stable",
"guzzlehttp/guzzle": "^7.2",
"laravel/framework": "^10.10",
"laravel/sanctum": "^3.2",
"laravel/tinker": "^2.8",
"spatie/laravel-model-states": "^2.4",
"spatie/laravel-permission": "^5.11"
},
"require-dev": {
"barryvdh/laravel-debugbar": "^3.9",
"fakerphp/faker": "^1.9.1",
"laravel/breeze": "^1.23",
"laravel/pint": "^1.13",
"laravel/sail": "^1.18",
"mockery/mockery": "^1.4.4",
"nunomaduro/collision": "^7.0",
"pestphp/pest": "^2.18",
"pestphp/pest-plugin-laravel": "^2.0",
"spatie/laravel-ignition": "^2.0"
},
Thank you for any help or idea why this might happen πŸ™‚
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server