Broken Paginator after composer update ?
Hi,
I've just done a composer update on my project, and since then I've had this error that persists and totally blocks me. I don't understand how to solve the problem.
Error :
If anyone has any ideas, please let me know.
Thank you
5 Replies
My widget :
Those errors are saying that some filament core files aren't in sync with each other.
So, it seems that some of the Filament core code didn't update completely during your
composer update
. That could be a result of your composer.json
having hard-coded version numbers for certain filament packages, or you told Composer to only update a few packages but not everything.
The quickest way to solve that is to completely delete all your composer packages and have composer reinstall them. That'll give you a clean fresh start.
It shouldn't have any negative impact on deployments if your deployment process auto-installs composer packages during deployment.
To delete your composer.lock
and /vendor
directory on mac/linux: rm -rf composer.lock vendor
from your project root (where your .env
file and composer.json
are located). You can do it from a File Manager too.
THEN run composer install
to reload everything according to your composer.json
contents.@DrByte I've already done this at least 10 times and I always get this error at the end of the
composer install
.
Here my composer.json
file :I found the problem, in one of my TableWidget, I had a
use InteractsWithTable
, that's what was causing the problem.