F
Filament10mo ago
tarifss

upgrade v2 to v3

Problem 1 - Root composer.json requires filament/filament ^3.2 -> satisfiable by filament/filament[v3.2.0, ..., 3.x-dev]. - Only one of these can be installed: illuminate/view[dev-master, v8.0.0, ..., 8.x-dev, v9.0.0-beta.1, ..., 9.x-dev, v10.0.0, ..., 10.x-dev], laravel/framework[v9.38.0, ..., 9.x-dev]. laravel/framework replaces illuminate/view and thus cannot coexist with it. - Conclusion: install illuminate/view v10.43.0 (conflict analysis result) - Root composer.json requires laravel/framework ^v9.38.0 -> satisfiable by laravel/framework[v9.38.0, ..., 9.x-dev].
4 Replies
awcodes
awcodes10mo ago
v3 requires laravel 10. You’ll need to upgrade that before upgrading Filament.
tarifss
tarifssOP10mo ago
after composer update completed then getting this error PHP Fatal error: Type of App\Filament\Resources\Product\ProductResource\Pages\CreateProduct::$attributes must be Livewire\Features\SupportAttributes\AttributeCollection (as in class Livewire\Component) in /var/www/html/app/Filament/Resources/Product/ProductResource/Pages/CreateProduct.php on line 22 Symfony\Component\ErrorHandler\Error\FatalError Type of App\Filament\Resources\Product\ProductResource\Pages\CreateProduct::$attributes must be Livewire\Features\SupportAttributes\AttributeCollection (as in class Livewire\Component)
awcodes
awcodes10mo ago
You’re also going to need to upgrade any plugins too.
Want results from more Discord servers?
Add your server