RickDB
RickDB
FFilament
Created by RickDB on 3/23/2023 in #❓┊help
Upgrade L9 to L10
Hi, I upgraded our filament project from laravel 9 to laravel 10, however PHPStan is going crazy now.
Line Filament/Resources/SoerOrderResource/Pages/CreateSoerOrder.php
------ -------------------------------------------------------------------
26 Access to an undefined property App\Models\User::$email.
27 Call to an undefined static method App\Models\Soer\Order::find().
------ -------------------------------------------------------------------

------ -----------------------------------------------------------------------
Line Filament/Resources/StockCountPresetResource.php
------ -----------------------------------------------------------------------
47 Call to an undefined static method App\Models\ItemSync\Item::pluck().
53 Call to an undefined static method App\Models\ItemSync\Item::pluck().
61 Call to an undefined static method App\Models\ItemSync\Item::pluck().
Line Filament/Resources/SoerOrderResource/Pages/CreateSoerOrder.php
------ -------------------------------------------------------------------
26 Access to an undefined property App\Models\User::$email.
27 Call to an undefined static method App\Models\Soer\Order::find().
------ -------------------------------------------------------------------

------ -----------------------------------------------------------------------
Line Filament/Resources/StockCountPresetResource.php
------ -----------------------------------------------------------------------
47 Call to an undefined static method App\Models\ItemSync\Item::pluck().
53 Call to an undefined static method App\Models\ItemSync\Item::pluck().
61 Call to an undefined static method App\Models\ItemSync\Item::pluck().
Every resource has these kind of errors Does anyone have an idea?
8 replies