Replies: 7 comments 32 replies
-
add AdminPanelProvider to list of providers in config/app.php ('providers'=[......... ,' AdminPanelProvider::class']) |
Beta Was this translation helpful? Give feedback.
-
I too get the same error In AdminPanelProvider.php line 22: Class "Filament\PanelProvider" not found |
Beta Was this translation helpful? Give feedback.
-
I'm having the same issue on a fresh install of both Laravel 10 and Filament, copying commands from the docs. The classes just don't exist. |
Beta Was this translation helpful? Give feedback.
-
I have also encountered this error. It happened after upgrading process was finished. Then I deleted the vendor folder then run |
Beta Was this translation helpful? Give feedback.
-
Problem solved, thanks for replying.
…On Fri, Feb 23, 2024 at 5:38 PM Leandro Costa Ferreira < ***@***.***> wrote:
Are you updating it?
—
Reply to this email directly, view it on GitHub
<#7213 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AYLVIFOQFZU4G4YZD6C2LA3YVFAC5AVCNFSM6AAAAAA2X4HW2KVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DKNZUGE4TM>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
To fix this error run "composer require filament/filament:"^3.0-stable" --ignore-platform-reqs --with-all-dependencies" |
Beta Was this translation helpful? Give feedback.
-
Guys, I resolved it by following these steps on a shared host (Hostinger):
composer --version If the version is < 2.0, run the following commands: php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === 'dac665fdc30fdd8ec78b38b9800061b4150413ff2e3b6f88543c636f7cd84f6db9189d43a81e5503cda447da73c7e5b6') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');" (This will create a
php artisan key:generate
php artisan migrate
./composer.phar install If it still doesn’t work, try: ./composer.phar dump-autoload This will either resolve the issue or indicate what the problem is. In my case, the problem was:
So basically, what you need to do is fix all the file or folder names that don’t follow the PSR-4 standard. After fixing them, run Tip: If you don’t understand what is PSR-4, paste the error into ChatGPT. It will tell you which folders and files names need fixing. |
Beta Was this translation helpful? Give feedback.
-
I get the following error during the update process:
In AdminPanelProvider.php line 22:
Class "Filament\PanelProvider" not found
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1
Beta Was this translation helpful? Give feedback.
All reactions